mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-31 01:24:19 +02:00
Merge pull request #7647 from Icinga/bugfix/notification-script-string-comparison
Fix notification scripts string comparison
This commit is contained in:
commit
287e4c3a8d
@ -166,7 +166,7 @@ $ICINGAWEB2URL/monitoring/host/show?host=$(urlencode "$HOSTNAME")"
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
## Check whether verbose mode was enabled and log to syslog.
|
## Check whether verbose mode was enabled and log to syslog.
|
||||||
if [ "$VERBOSE" == "true" ] ; then
|
if [ "$VERBOSE" = "true" ] ; then
|
||||||
logger "$PROG sends $SUBJECT => $USEREMAIL"
|
logger "$PROG sends $SUBJECT => $USEREMAIL"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -171,7 +171,7 @@ $ICINGAWEB2URL/monitoring/service/show?host=$(urlencode "$HOSTNAME")&service=$(u
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
## Check whether verbose mode was enabled and log to syslog.
|
## Check whether verbose mode was enabled and log to syslog.
|
||||||
if [ "$VERBOSE" == "true" ] ; then
|
if [ "$VERBOSE" = "true" ] ; then
|
||||||
logger "$PROG sends $SUBJECT => $USEREMAIL"
|
logger "$PROG sends $SUBJECT => $USEREMAIL"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user