raise an error if stack fails in lxc
This commit is contained in:
parent
7b1aa5b6be
commit
ad21d1a78e
1 changed files with 5 additions and 0 deletions
|
@ -301,6 +301,11 @@ if [ "$WAIT_TILL_LAUNCH" = "1" ]; then
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue