Browse code

build_libvirt should check for completion not failure

Jesse Andrews authored on 2011/11/01 14:29:23
Showing 1 changed files
... ...
@@ -427,7 +427,7 @@ if [ "$WAIT_TILL_LAUNCH" = "1" ]; then
427 427
 
428 428
     kill $TAIL_PID
429 429
 
430
-    if grep -q "stack.sh failed" $VM_DIR/console.log; then
430
+    if ! grep -q "^stack.sh completed in" $VM_DIR/console.log; then
431 431
         exit 1
432 432
     fi
433 433
     echo ""