fix typo as referred by #128

This commit is contained in:
mguegan 2013-05-15 06:27:02 +02:00
parent f1172e0e35
commit dd69486c05

View file

@ -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)