Browse Source
Update alert_email.sh
correction of a minor error
pull/4801/head
magistratus-de
7 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
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 |
|
|
|