From 79221f6393a329b9b404cbb062c86b8feb5d1fd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B4=8B=20Jax?= <1460018362@qq.com> Date: Sun, 6 Oct 2019 18:31:33 +0800 Subject: fix bug: issue #7002 (#7003) --- health/notifications/alarm-notify.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'health/notifications') 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 -- cgit v1.2.3