Browse Source

Update alert_email.sh

correction of a minor error
pull/4801/head
magistratus-de 7 days ago
committed by GitHub
parent
commit
a7545d5833
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      lgsm/modules/alert_email.sh

2
lgsm/modules/alert_email.sh

@ -15,7 +15,7 @@ else
mail -s "${alerttitle}" "${email}" < "${alertlog}"
fi
exitcode=$?
if [ "${exitcode}" -ne 0 ]; then
if [ "${exitcode}" -eq 0 ]; then
fn_print_ok_nl "Sending Email alert: ${email}"
fn_script_log_pass "Sending Email alert: ${email}"
else

Loading…
Cancel
Save