From 381591ad66758bf8d2b7660ecf5b1db98080fd90 Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Mon, 24 Oct 2011 22:25:16 -0700 Subject: [PATCH] raise error if stack.sh failed --- tools/build_kvm.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/build_kvm.sh b/tools/build_kvm.sh index dbfb5ce..26a195e 100755 --- a/tools/build_kvm.sh +++ b/tools/build_kvm.sh @@ -378,6 +378,10 @@ if [ "$WAIT_TILL_LAUNCH" = "1" ]; then done kill $TAIL_PID + + if grep -q "stack.sh failed" $VM_DIR/console.log; then + exit 1 + fi echo "" echo "Finished - Zip-a-dee Doo-dah!" fi