build_libvirt should check for completion not failure

This commit is contained in:
Jesse Andrews 2011-10-31 22:29:23 -07:00
parent c2e05b6a77
commit a06ac1cb2d

View file

@ -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 ""