From eaaabde24827d21adc54a719e03df0d5fb9f657b Mon Sep 17 00:00:00 2001 From: elijah Date: Tue, 4 Jan 2005 17:50:00 +0000 Subject: [PATCH] added value for loglevel git-svn-id: http://code.autistici.org/svn/backupninja/trunk@67 758a04ac-41e6-0310-8a23-8373a73cc35d --- backupninja | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backupninja b/backupninja index 3b3b16d..962ff89 100755 --- a/backupninja +++ b/backupninja @@ -81,7 +81,7 @@ function printmsg() { echo -e "${color}$typestr: $@${endcolor}" >&2 fi - if [ "$print" -lt "$loglevel" ]; then + if [ $print -lt $loglevel ]; then if [ -w "$logfile" ]; then echo -e "${color}$typestr: $@${endcolor}" >> $logfile fi @@ -293,6 +293,7 @@ function process_action() { setupcolors conffile="/etc/backupninja.conf" +loglevel=3 ## process command line options -- 2.30.2