diff --git a/Shorewall-core/lib.cli b/Shorewall-core/lib.cli index 8ce5c80bf..c318763de 100644 --- a/Shorewall-core/lib.cli +++ b/Shorewall-core/lib.cli @@ -1683,7 +1683,7 @@ restore_command() { if [ -z "$STARTUP_ENABLED" ]; then error_message "ERROR: Startup is disabled" - exit 2 + exit 6 fi g_restorepath=${VARDIR}/$RESTOREFILE @@ -3680,7 +3680,7 @@ start_command() { else error_message "${VARDIR}/firewall is missing or is not executable" logger -p kern.err "ERROR:$g_product start failed" - rc=2 + rc=6 fi [ -n "$g_nolock" ] || mutex_off @@ -3813,7 +3813,7 @@ restart_command() { else error_message "${VARDIR}/firewall is missing or is not executable" logger -p kern.err "ERROR:$g_product restart failed" - rc=2 + rc=6 fi [ -n "$g_nolock" ] || mutex_off diff --git a/Shorewall/lib.cli-std b/Shorewall/lib.cli-std index 74603d1fb..cce2c1755 100644 --- a/Shorewall/lib.cli-std +++ b/Shorewall/lib.cli-std @@ -169,7 +169,7 @@ get_config() { *) if [ -n "$STARTUP_ENABLED" ]; then fatal_error "Invalid Value for STARTUP_ENABLED: $STARTUP_ENABLED" - exit 2 + exit 6 fi ;; esac