From 56a505fc2d3b95c310f2330b4e4d45d8dfe8f0e1 Mon Sep 17 00:00:00 2001 From: Justin Shepherd Date: Wed, 26 Oct 2011 10:45:02 -0500 Subject: [PATCH] bug fix.. resulted in following error message: ./exercise.sh: line 96: [: missing `]' --- exercise.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercise.sh b/exercise.sh index b73d6aa..3f2c94e 100755 --- a/exercise.sh +++ b/exercise.sh @@ -93,7 +93,7 @@ IP=`nova show $NAME | grep "private network" | cut -d"|" -f3` # for single node deployments, we can ping private ips MULTI_HOST=${MULTI_HOST:-0} -if [ "$MULTI_HOST" = "0"]; then +if [ "$MULTI_HOST" = "0" ]; then # ping it once (timeout of a second) ping -c1 -w1 $IP || true