summaryrefslogtreecommitdiffstats
path: root/health/notifications
diff options
context:
space:
mode:
author刘洋 Jax <1460018362@qq.com>2019-10-06 18:31:33 +0800
committerChris Akritidis <43294513+cakrit@users.noreply.github.com>2019-10-06 12:31:33 +0200
commit79221f6393a329b9b404cbb062c86b8feb5d1fd0 (patch)
treedfb65a6f2b06e242f1fd67d45a8a0a282079dae1 /health/notifications
parent978981ee34ee30b79aef89dff3715a56910fb00b (diff)
fix bug: issue #7002 (#7003)
Diffstat (limited to 'health/notifications')
-rwxr-xr-xhealth/notifications/alarm-notify.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/health/notifications/alarm-notify.sh.in b/health/notifications/alarm-notify.sh.in
index c421713435..509a8e88db 100755
--- a/health/notifications/alarm-notify.sh.in
+++ b/health/notifications/alarm-notify.sh.in
@@ -194,7 +194,7 @@ fi
# -----------------------------------------------------------------------------
# parse command line parameters
-if [ ${1} = "unittest" ]; then
+if [[ ${1} = "unittest" ]]; then
unittest=1 # enable unit testing mode
roles="${2}" # the role that should be used for unit testing
cfgfile="${3}" # the location of the config file to use for unit testing