summaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
Diffstat (limited to 'cgi')
-rwxr-xr-xcgi/cron6
1 files changed, 6 insertions, 0 deletions
diff --git a/cgi/cron b/cgi/cron
index c23933236..0bf4554c2 100755
--- a/cgi/cron
+++ b/cgi/cron
@@ -25,6 +25,12 @@ then
exit 0
fi
+# Turn on debug if enabled
+if [ "${_DEBUG}" = "enabled" ]
+then
+ set -x
+fi
+
# Checking lock file
if [ -f /var/lock/live-helper.cgi.lock ]
then