Browse files

Fix bug SERENGETI-469, error message when run serengeti-stop-serivce.sh

  • Loading branch information...
1 parent 75193e4 commit 77d6138ec569aca251c509b727bbb2a70de73210 @qhli qhli committed Sep 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 distribute/sbin/vhm-stop.sh
View
2 distribute/sbin/vhm-stop.sh
@@ -2,7 +2,7 @@
VHM_SERVICE_PID=`ps aux | grep java | grep elastic-runtime | awk '{print $2}'`
-if [ ${VHM_SERVICE_PID} != "" ]; then
+if [ "${VHM_SERVICE_PID}" != "" ]; then
echo "stopping vhm services"
kill ${VHM_SERVICE_PID}
fi

0 comments on commit 77d6138

Please sign in to comment.