From e27be13d4bff14c0140ed65dcd0d021398e80ffa Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 8 Nov 2012 13:44:35 +0100 Subject: [PATCH] fixup: check for 10min if testserver came up again --- liveboot_testdeploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/liveboot_testdeploy.sh b/liveboot_testdeploy.sh index 898e533..f5e99fa 100755 --- a/liveboot_testdeploy.sh +++ b/liveboot_testdeploy.sh @@ -33,12 +33,12 @@ ping -c 1 $TESTSERVER || true for i in $(seq 1 10) ; do sleep 60 - if $(ping -c 1 $TESTSERVER) ; then + if [ $(ping -c 1 $TESTSERVER) ] ; then break fi done -if $(ping -c 1 $TESTSERVER) ; then +if [ $(ping -c 1 $TESTSERVER) ] ; then figlet Ok echo "$TESTSERVER pings again, so we assume it's up." echo "Please continue manual testing of $(basedir $SOURCE_DIR)" -- 2.39.5