Add array utilities append and in_array.
[matthijs/upstream/backupninja.git] / src / backupninja.in
index c3ec7edc6d1f376108320069b9e85f119317b218..f68a315632f755ab03106a184e2897409ab1ca09 100755 (executable)
@@ -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)
@@ -448,6 +448,7 @@ fi
 
 # include shared functions
 . $libdirectory/tools
+. $libdirectory/array
 . $libdirectory/vserver
 
 setfile $conffile