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"