blob: ee6c9efebcad41da7e689400c3f058e10c8c974f [file] [log] [blame]
--- laptop-mode-tools_1.57/usr/sbin/laptop_mode
+++ laptop-mode-tools_1.57/usr/sbin/laptop_mode
@@ -165,7 +165,7 @@
elif [ "$1" = "ERR" ]; then
logger -p $SYSLOG_FACILITY.err -t laptop-mode "$2";
elif [ "$1" = "VERBOSE" ]; then
- if [ x$VERBOSE_OUTPUT = x1 ]; then
+ if [ x$VERBOSE_OUTPUT = x1 -a "$DEBUG" = 1 ]; then
logger -p $SYSLOG_FACILITY.debug -t laptop-mode "$2";
fi
else