From a06ac1cb2d824ff07406c85602b094c194500b67 Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Mon, 31 Oct 2011 22:29:23 -0700 Subject: [PATCH] build_libvirt should check for completion not failure --- tools/build_libvirt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build_libvirt.sh b/tools/build_libvirt.sh index 3eb2ff89d6..5ae8fda195 100755 --- a/tools/build_libvirt.sh +++ b/tools/build_libvirt.sh @@ -427,7 +427,7 @@ if [ "$WAIT_TILL_LAUNCH" = "1" ]; then kill $TAIL_PID - if grep -q "stack.sh failed" $VM_DIR/console.log; then + if ! grep -q "^stack.sh completed in" $VM_DIR/console.log; then exit 1 fi echo ""