diff options
author | Richard Nelson <unixabg@gmail.com> | 2013-05-31 14:34:01 -0500 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-06-19 08:01:03 +0200 |
commit | a486a29f80ebecf65535ab3ee2e67246347d0124 (patch) | |
tree | 12fd0caac198ae432ea5ed128cfa126c99ccfa39 | |
parent | 4c6879eb336e008ecf919dec7af92ba67bace9b0 (diff) | |
download | vyos-live-build-a486a29f80ebecf65535ab3ee2e67246347d0124.tar.gz vyos-live-build-a486a29f80ebecf65535ab3ee2e67246347d0124.zip |
Adding set +e to l-b-cgi.cron so script will finish on errors.
-rwxr-xr-x | frontends/cgi/live-build-cgi.cron | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/frontends/cgi/live-build-cgi.cron b/frontends/cgi/live-build-cgi.cron index d6a474e2e..bd2694d8f 100755 --- a/frontends/cgi/live-build-cgi.cron +++ b/frontends/cgi/live-build-cgi.cron @@ -111,6 +111,8 @@ then # Run build if config went ok if [ "${_ERRORCONFIG}" -eq "0" ] then + # We need to finish script. + set +e lb build noauto >> "${_BUILD_PATH}"/log 2>&1 _ERRORBUILD="${?}" else |