-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
in version 2.00-beta-2
cmd() doesn't properly test the DEBUG flag.
init() forced DEBUG to "no", which imho doesn't make sense as it works
differently from all other settings.
--- bsfl
+++ bsfl
@@ -33,7 +33,10 @@
# Debug mode shows more verbose output to screen and log files.
# Value: yes or no (y / n)
#
- DEBUG=no
+ if ! defined DEBUG
+ then
+ DEBUG=no
+ fi
#
# Syslog style log messages
@@ -534,7 +537,7 @@
if [ "$ERROR" == "0" ]
then
msg_ok "$MSG"
- if [ "$DEBUG" == "1" ]
+ if option_enabled DEBUG
then
msg "$RESULT"
fi
Original issue reported on code.google.com by crusade...@gmail.com on 13 Jun 2013 at 9:20