Browse Source

added unset exitbypass

pull/3051/head
Daniel Gibbs 5 years ago
parent
commit
14f7000ab8
  1. 1
      lgsm/functions/alert.sh

1
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"

Loading…
Cancel
Save