From dd69486c057190e6ad05d30afa0424b43348abd7 Mon Sep 17 00:00:00 2001 From: mguegan Date: Wed, 15 May 2013 06:27:02 +0200 Subject: [PATCH] fix typo as referred by #128 --- bootstrap-salt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 4225cdf..47126f7 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -2540,7 +2540,7 @@ daemons_running() { [ $fname = "master" ] && [ $INSTALL_MASTER -eq $BS_FALSE ] && continue [ $fname = "syndic" ] && [ $INSTALL_SYNDIC -eq $BS_FALSE ] && continue - if [ ${DISTRO_NAME} == "SmartOS" ]; then + if [ "${DISTRO_NAME}" = "SmartOS" ]; then if [[ $(svcs -Ho STA salt-$fname) != "ON" ]]; then echoerror "salt-$fname was not found running" FAILED_DAEMONS=$(expr $FAILED_DAEMONS + 1)