diff options
author | Richard Nelson <unixabg@gmail.com> | 2012-12-19 22:15:24 -0600 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-05-06 14:50:03 +0200 |
commit | 9310e696671534e9c8008bb5783e2f982afd84fa (patch) | |
tree | 1552fa528f22d9b320a3cd952f781d03b73a69bc /frontends/cgi/live-build-cgi.cron | |
parent | 2d487b551958ede67c5d294cfb49647f55dd31ca (diff) | |
download | vyos-live-build-9310e696671534e9c8008bb5783e2f982afd84fa.tar.gz vyos-live-build-9310e696671534e9c8008bb5783e2f982afd84fa.zip |
Unify _DEBUG variable values to be true or false for l-b-cgi.
Diffstat (limited to 'frontends/cgi/live-build-cgi.cron')
-rwxr-xr-x | frontends/cgi/live-build-cgi.cron | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frontends/cgi/live-build-cgi.cron b/frontends/cgi/live-build-cgi.cron index d71661f62..13d7e06b5 100755 --- a/frontends/cgi/live-build-cgi.cron +++ b/frontends/cgi/live-build-cgi.cron @@ -20,15 +20,15 @@ else fi # Exit if disabled -if [ "${_WEBBUILD}" != "enabled" ] +if [ "${_WEBBUILD}" != "true" ] then exit 0 fi _HOSTNAME="$(hostname -f)" -# Turn on debug if enabled -if [ "${_DEBUG}" = "enabled" ] +# Turn on debug if true +if [ "${_DEBUG}" = "true" ] then set -x fi |