We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de27a6a commit 7cc48beCopy full SHA for 7cc48be
1 file changed
lgsm/modules/alert_email.sh
@@ -15,7 +15,7 @@ else
15
mail -s "${alerttitle}" "${email}" < "${alertlog}"
16
fi
17
exitcode=$?
18
-if [ "${exitcode}" -ne 0 ]; then
+if [ "${exitcode}" -eq 0 ]; then
19
fn_print_ok_nl "Sending Email alert: ${email}"
20
fn_script_log_pass "Sending Email alert: ${email}"
21
else
0 commit comments