diff options
author | Richard Nelson <unixabg@gmail.com> | 2010-03-14 12:07:15 -0500 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:17:05 +0100 |
commit | 773b60ef51f9f9eb656020f3be38f67e2f914033 (patch) | |
tree | 11ea084f67aefcdc3b7ac26b9e1662fcfe8b94cb | |
parent | d1eb25959a9dad078a9d9ced81276b83d913641e (diff) | |
download | vyos-live-build-773b60ef51f9f9eb656020f3be38f67e2f914033.tar.gz vyos-live-build-773b60ef51f9f9eb656020f3be38f67e2f914033.zip |
Added debug option on l-h.cgi cgi.
-rwxr-xr-x | cgi/cgi | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -16,6 +16,12 @@ else exit 1 fi +# Turn on debug if enabled +if [ "${_DEBUG}" = "enabled" ] +then + set -x +fi + # Sending http header echo "Content-type: text/html" echo |