summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Nelson <unixabg@gmail.com>2013-05-22 10:48:27 -0500
committerRichard Nelson <unixabg@gmail.com>2013-05-22 10:48:27 -0500
commitc944301b84cd49ab70564c3d76ce0e37252a4509 (patch)
tree89724b93d9abcd5d7fb0dd1cdb6d4be96b136419
parentd26dea3710adf0fe327c788f36b8004a442ee61d (diff)
downloadvyos-live-build-c944301b84cd49ab70564c3d76ce0e37252a4509.tar.gz
vyos-live-build-c944301b84cd49ab70564c3d76ce0e37252a4509.zip
Return the error code from auto/build script.
-rwxr-xr-xexamples/auto/build2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/auto/build b/examples/auto/build
index f8d834623..03a7b577c 100755
--- a/examples/auto/build
+++ b/examples/auto/build
@@ -2,4 +2,4 @@
set -e
-lb build noauto "${@}" 2>&1 | tee build.log
+lb build noauto "${@}" && echo $? 2>&1 | tee build.log