From: intrigeri Date: Sat, 9 Jan 2010 00:19:21 +0000 (+0100) Subject: set BACKUPNINJA_DEBUG when invoked with -d (Closes: #537266) X-Git-Tag: backupninja-0.9.7~7 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=0fbd8744f5c10649b7239c3199dae229a30e10a9;p=matthijs%2Fupstream%2Fbackupninja.git set BACKUPNINJA_DEBUG when invoked with -d (Closes: #537266) --- diff --git a/ChangeLog b/ChangeLog index fb6b622..12c1436 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,7 @@ version 0.9.7 -- UNRELEASED "info" are included in the report e-mail (closes #563734) . reportspace: skip non-directories and places that don't exist on the local filesystem (Closes: #536049) + . set BACKUPNINJA_DEBUG when invoked with -d (Closes: #537266) lib changes easydialog: . Allow form fields input to grow up to 100 chars (Closes: #562249) diff --git a/src/backupninja.in b/src/backupninja.in index c3ec7ed..e8a820f 100755 --- a/src/backupninja.in +++ b/src/backupninja.in @@ -381,7 +381,7 @@ loglevel=3 while [ $# -ge 1 ]; do case $1 in -h|--help) usage;; - -d|--debug) debug=1;; + -d|--debug) debug=1; export BACKUPNINJA_DEBUG=yes;; -t|--test) test=1;debug=1;; -n|--now) processnow=1;; -f|--conffile)