diff --git a/xCAT-client/bin/rcons b/xCAT-client/bin/rcons index a226f3bfc..ec599ea46 100755 --- a/xCAT-client/bin/rcons +++ b/xCAT-client/bin/rcons @@ -59,8 +59,8 @@ USE_CONFLUENT=0 CONSOLE_SERVICE_KEYWORD=`tabdump site | grep consoleservice | cut -d, -f1 | tr -d '"'` CONSOLE_SERVICE_VALUE=`tabdump site | grep consoleservice | cut -d, -f2 | tr -d '"'` -if [ $CONSOLE_SERVICE_KEYWORD == "consoleservice" ]; then - if [ $CONSOLE_SERVICE_VALUE == "confluent" ]; then +if [ "$CONSOLE_SERVICE_KEYWORD" == "consoleservice" ]; then + if [ "$CONSOLE_SERVICE_VALUE" == "confluent" ]; then USE_CONFLUENT=1 fi fi