Skip to content

Commit

Permalink
Fix bug SERENGETI-469, error message when run serengeti-stop-serivce.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
qhli committed Sep 22, 2012
1 parent 75193e4 commit 77d6138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distribute/sbin/vhm-stop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 77d6138

Please sign in to comment.