commit | ad21d1a78e83ea8db1c87b65e646215d9cce8198 | [log] [tgz] |
---|---|---|
author | Jesse Andrews <anotherjesse@gmail.com> | Wed Oct 26 12:39:00 2011 -0700 |
committer | Jesse Andrews <anotherjesse@gmail.com> | Wed Oct 26 12:39:00 2011 -0700 |
tree | 796cabdb2842d57b5c625e2edbc3e703208227e5 | |
parent | 7b1aa5b6beb6f9ad0b47980e530c7671ac4782c0 [diff] |
raise an error if stack fails in lxc
diff --git a/tools/build_lxc.sh b/tools/build_lxc.sh index 9cbbedf..b629183 100755 --- a/tools/build_lxc.sh +++ b/tools/build_lxc.sh
@@ -301,6 +301,11 @@ done kill $TAIL_PID + + if grep -q "stack.sh failed" $ROOTFS/$DEST/run.sh.log; then + exit 1 + fi + echo "" echo "Finished - Zip-a-dee Doo-dah!" fi