Added debug option on l-h.cgi cron.

This commit is contained in:
Richard Nelson 2010-03-14 12:05:33 -05:00 committed by Daniel Baumann
parent c0f03eb71f
commit c3b5da9a80
1 changed files with 6 additions and 0 deletions

View File

@ -25,6 +25,12 @@ then
exit 0 exit 0
fi fi
# Turn on debug if enabled
if [ "${_DEBUG}" = "enabled" ]
then
set -x
fi
# Checking lock file # Checking lock file
if [ -f /var/lock/live-helper.cgi.lock ] if [ -f /var/lock/live-helper.cgi.lock ]
then then