From f0dca55a29048a6183c103e47bee667c5e3a76e3 Mon Sep 17 00:00:00 2001 From: Anthony Young Date: Tue, 1 Nov 2011 14:23:14 -0700 Subject: [PATCH] fix typos --- tools/xen/build_domU.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/xen/build_domU.sh b/tools/xen/build_domU.sh index 7ca6155a66..8e40225b25 100755 --- a/tools/xen/build_domU.sh +++ b/tools/xen/build_domU.sh @@ -331,13 +331,13 @@ if [ "$WAIT_TILL_LAUNCH" = "1" ] && [ -e ~/.ssh/id_rsa.pub ] && [ "$COPYENV" = trap kill_tail SIGINT echo "Waiting stack.sh to finish..." - while ! ssh -q stack@$PUB_IP "grep -q 'stack.sh completed in' run.sh.log" ; do + while ! ssh -q stack@$PUB_IP "grep -q 'stack.sh completed in' run.sh.log"; do sleep 1 done kill $TAIL_PID - if ! ssh -q stack@$PUB_IP "grep -q 'stack.sh failed' run.sh.log" ; then + if ssh -q stack@$PUB_IP "grep -q 'stack.sh failed' run.sh.log"; then exit 1 fi echo ""