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
|
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
|
||||||
|
|
Loading…
Reference in a new issue