From 7ed24015281a826cb5d6ebff7c8b1d13d8be4e22 Mon Sep 17 00:00:00 2001 From: Eugeni Dodonov Date: Tue, 2 Mar 2010 23:10:17 +0000 Subject: using exit instead of return when checking if we are run from scripts --- cron-sh/scripts/05_access.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cron-sh/scripts/05_access.sh') diff --git a/cron-sh/scripts/05_access.sh b/cron-sh/scripts/05_access.sh index 2af0d2d..2c77b06 100755 --- a/cron-sh/scripts/05_access.sh +++ b/cron-sh/scripts/05_access.sh @@ -6,7 +6,7 @@ if [ -z "$MSEC_TMP" -o -z "$INFOS" -o -z "$SECURITY" -o -z "$DIFF" -o -z "$SECUR # variables are set in security.sh and propagated to the subscripts echo "Error: this check should be run by the main msec security check!" echo " do not run it directly unless you know what you are doing." - return 1 + exit 1 fi # check for changes in users -- cgit v1.2.1