diff --git a/xCAT-server/etc/init.d/xcatd b/xCAT-server/etc/init.d/xcatd index 2ae1c48f1..9c607a63b 100755 --- a/xCAT-server/etc/init.d/xcatd +++ b/xCAT-server/etc/init.d/xcatd @@ -91,7 +91,7 @@ reload) $STATUS > /dev/null 2>&1 if [ "$?" = "0" ]; then ver=`nodels --version` - if [[ $ver < "Version 2.6" ]]; then # force to stop xcatd first when update from version earlier than 2.6 + if [ "$ver" \< "Version 2.6" ]; then # force to stop xcatd first when update from version earlier than 2.6 $0 stop fi fi