From c3b5da9a8044ad7b5a9a1eab1753a402f6aa9bef Mon Sep 17 00:00:00 2001 From: Richard Nelson Date: Sun, 14 Mar 2010 12:05:33 -0500 Subject: Added debug option on l-h.cgi cron. --- cgi/cron | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cgi') 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 -- cgit v1.2.3