aboutsummaryrefslogtreecommitdiff
path: root/handlers
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2008-06-24 15:39:03 +0000
committerintrigeri <intrigeri@boum.org>2008-06-24 15:39:03 +0000
commitad8db347dcc0114c6d32207ecd2f00abd5d81986 (patch)
tree69f3362f7e017d1940c14e1cbd6c7bdafef8c4f6 /handlers
parent56617bfc5bd846f660ac015d7ee349e0134c7a43 (diff)
downloadbackupninja-ad8db347dcc0114c6d32207ecd2f00abd5d81986.tar.gz
backupninja-ad8db347dcc0114c6d32207ecd2f00abd5d81986.tar.bz2
dup: actually allow to backup only VServers, by relaxing $include test
Diffstat (limited to 'handlers')
-rw-r--r--handlers/dup.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/handlers/dup.in b/handlers/dup.in
index 0f4e58e..2854974 100644
--- a/handlers/dup.in
+++ b/handlers/dup.in
@@ -35,7 +35,7 @@ destdir=${destdir%/}
### SANITY CHECKS ##############################################################
[ -n "$desturl" -o -n "$destdir" ] || fatal "The destination directory (destdir) must be set when desturl is not used."
-[ -n "$include" ] || fatal "No source includes specified"
+[ -n "$include" -o -n "$vsinclude" ] || fatal "No source includes specified"
[ -n "$password" ] || fatal "The password option must be set."
### VServers