summaryrefslogtreecommitdiff
path: root/frontends/cgi/live-build-cgi
diff options
context:
space:
mode:
authorRichard Nelson <unixabg@gmail.com>2012-12-19 22:15:24 -0600
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:03 +0200
commit9310e696671534e9c8008bb5783e2f982afd84fa (patch)
tree1552fa528f22d9b320a3cd952f781d03b73a69bc /frontends/cgi/live-build-cgi
parent2d487b551958ede67c5d294cfb49647f55dd31ca (diff)
downloadvyos-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')
-rwxr-xr-xfrontends/cgi/live-build-cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/cgi/live-build-cgi b/frontends/cgi/live-build-cgi
index 54ac528cc..990af44dc 100755
--- a/frontends/cgi/live-build-cgi
+++ b/frontends/cgi/live-build-cgi
@@ -22,8 +22,8 @@ fi
_HOSTNAME="$(hostname -f)"
-# Turn on debug if enabled
-if [ "${_DEBUG}" = "enabled" ]
+# Turn on debug if true
+if [ "${_DEBUG}" = "true" ]
then
set -x
fi