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 <daniel@debian.org>2012-12-20 07:36:57 +0100
commit386488c833a007c2fda1011ba2db4e86a0840307 (patch)
tree6d10c2f3b7d7e1b684e48642a827b830b53592ce /frontends/cgi/live-build-cgi
parentab9cf9e4b3f2ae48f218a80b364e09dabf6ece25 (diff)
downloadvyos-live-build-386488c833a007c2fda1011ba2db4e86a0840307.tar.gz
vyos-live-build-386488c833a007c2fda1011ba2db4e86a0840307.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 23f0c89ca..f2750fbe9 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