From 14f7000ab8e9d99f669c9f2c3c9877735aff0bee Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 20 Sep 2020 13:07:18 +0100 Subject: [PATCH] added unset exitbypass --- lgsm/functions/alert.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/lgsm/functions/alert.sh b/lgsm/functions/alert.sh index 162b296eb..3b54230eb 100755 --- a/lgsm/functions/alert.sh +++ b/lgsm/functions/alert.sh @@ -100,6 +100,7 @@ if [ "${postalert}" == "on" ]&&[ -n "${postalert}" ]; then exitbypass=1 command_postdetails.sh fn_firstcommand_reset + unset exitbypass elif [ "${postalert}" != "on" ]&&[ "${commandname}" == "TEST-ALERT" ]; then fn_print_warn_nl "More Info not enabled" fn_script_log_warn "More Info alerts not enabled"