diff options
author | 刘洋 Jax <1460018362@qq.com> | 2019-10-06 18:31:33 +0800 |
---|---|---|
committer | Chris Akritidis <43294513+cakrit@users.noreply.github.com> | 2019-10-06 12:31:33 +0200 |
commit | 79221f6393a329b9b404cbb062c86b8feb5d1fd0 (patch) | |
tree | dfb65a6f2b06e242f1fd67d45a8a0a282079dae1 /health | |
parent | 978981ee34ee30b79aef89dff3715a56910fb00b (diff) |
fix bug: issue #7002 (#7003)
Diffstat (limited to 'health')
-rwxr-xr-x | health/notifications/alarm-notify.sh.in | 2 |
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 |