raise an error if stack fails in lxc

This commit is contained in:
Jesse Andrews 2011-10-26 12:39:00 -07:00
parent 7b1aa5b6be
commit ad21d1a78e

View file

@ -301,6 +301,11 @@ if [ "$WAIT_TILL_LAUNCH" = "1" ]; then
done done
kill $TAIL_PID kill $TAIL_PID
if grep -q "stack.sh failed" $ROOTFS/$DEST/run.sh.log; then
exit 1
fi
echo "" echo ""
echo "Finished - Zip-a-dee Doo-dah!" echo "Finished - Zip-a-dee Doo-dah!"
fi fi