Adding set +e to l-b-cgi.cron so script will finish on errors.
authorRichard Nelson <unixabg@gmail.com>
Fri, 31 May 2013 19:34:01 +0000 (14:34 -0500)
committerDaniel Baumann <mail@daniel-baumann.ch>
Wed, 19 Jun 2013 06:01:03 +0000 (08:01 +0200)
frontends/cgi/live-build-cgi.cron

index d6a474e..bd2694d 100755 (executable)
@@ -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