From ac2e166e895eb52286e47ee51a95f0e3d8491932 Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Wed, 26 Oct 2011 21:39:56 -0700 Subject: [PATCH] grammer --- exercise.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercise.sh b/exercise.sh index b79dc3c..8feda9f 100755 --- a/exercise.sh +++ b/exercise.sh @@ -95,7 +95,7 @@ IP=`nova show $NAME | grep "private network" | cut -d"|" -f3` MULTI_HOST=${MULTI_HOST:-0} if [ "$MULTI_HOST" = "0" ]; then # sometimes the first ping fails (10 seconds isn't enough time for the VM's - # network to respond?), so let's for 15 seconds pinging with a timeout + # network to respond?), so let's ping for 15 seconds with a timeout # of a second. if ! timeout 15 sh -c "while ! ping -c1 -w1 $IP; do sleep 1; done"; then echo "Couldn't ping server"