aboutsummaryrefslogtreecommitdiff
path: root/handlers
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2006-01-17 22:21:39 +0000
committerintrigeri <intrigeri@boum.org>2006-01-17 22:21:39 +0000
commit4beb261328e6e09d9f23c2f3a7a45e2ed94d30bc (patch)
treeaffd36125745da7fb6559004b103a5ac39a97f6f /handlers
parentb91c32792d3cabf3b3a153e45bcf04148ae24a54 (diff)
downloadbackupninja-4beb261328e6e09d9f23c2f3a7a45e2ed94d30bc.tar.gz
backupninja-4beb261328e6e09d9f23c2f3a7a45e2ed94d30bc.tar.bz2
duplicity handler: warn if vsnames or vsinclude is enabled while vservers support is disabled in backupninja.conf
Diffstat (limited to 'handlers')
-rw-r--r--handlers/dup3
1 files changed, 3 insertions, 0 deletions
diff --git a/handlers/dup b/handlers/dup
index 2e4312b..5970694 100644
--- a/handlers/dup
+++ b/handlers/dup
@@ -57,6 +57,9 @@ if [ "$vservers" == "yes" ]; then
else
[ -z "$vsinclude" ] || warning 'vsnames is empty, vsinclude configuration lines will be ignored'
fi
+else
+ [ -z "$vsinclude" ] || warning 'vservers support disabled in backupninja.conf, vsincludes configuration lines will be ignored'
+ [ -z "$vsnames" ] || warning 'vservers support disabled in backupninja.conf, vsnames configuration line will be ignored'
fi
### see if we can login ###