fix bug: issue #7002 (#7003)
刘洋 Jax committed
Oct 6, 2019 at 18:31 UTC
79221f6393a329b9b404cbb062c86b8feb5d1fd0
1 file changed
+1
-1
health/notifications/alarm-notify.sh.in
+1
-1
@@ -194,7 +194,7 @@ fi
194
# -----------------------------------------------------------------------------
195
# parse command line parameters
196
197
-if [ ${1} = "unittest" ]; then
197
+if [[ ${1} = "unittest" ]]; then
198
unittest=1 # enable unit testing mode
199
roles="${2}" # the role that should be used for unit testing
200
cfgfile="${3}" # the location of the config file to use for unit testing