Browse code

bug fix.. resulted in following error message:

./exercise.sh: line 96: [: missing `]'

Justin Shepherd authored on 2011/10/27 00:45:02
Showing 1 changed files
... ...
@@ -93,7 +93,7 @@ IP=`nova show $NAME | grep "private network" | cut -d"|" -f3`
93 93
 
94 94
 # for single node deployments, we can ping private ips
95 95
 MULTI_HOST=${MULTI_HOST:-0}
96
-if [ "$MULTI_HOST" = "0"]; then
96
+if [ "$MULTI_HOST" = "0" ]; then
97 97
     # ping it once (timeout of a second)
98 98
     ping -c1 -w1 $IP || true
99 99