diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-04-23 08:49:46 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-04-26 10:32:44 +0200 |
commit | 2ffff339c5515280a1926d2ee134d5d2c7cdbcfc (patch) | |
tree | 25c082683f692f09d10fd352f0adebb48db76887 /Makefile | |
parent | 89a0214f24f43492319caf5b4b74ec641a591294 (diff) | |
download | vyos-build-2ffff339c5515280a1926d2ee134d5d2c7cdbcfc.tar.gz vyos-build-2ffff339c5515280a1926d2ee134d5d2c7cdbcfc.zip |
Makefile: proper handle 'make iso' error codes
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -28,9 +28,13 @@ prepare: .ONESHELL: iso: check_build_config clean prepare @set -e + @set -o pipefail @echo "It's not like I'm building this specially for you or anything!" cd $(build_dir) lb build 2>&1 | tee build.log + if [ "$?" != "0" ]; then + exit 1 + fi cd .. @scripts/copy-image |