dup: actually allow to backup only VServers, by relaxing $include test
authorintrigeri <intrigeri@boum.org>
Tue, 24 Jun 2008 15:39:03 +0000 (15:39 +0000)
committerintrigeri <intrigeri@boum.org>
Tue, 24 Jun 2008 15:39:03 +0000 (15:39 +0000)
ChangeLog
handlers/dup.in

index c32acb85f580ada0a5cd1460ca8b22056bfa5f35..d139bf8655ce96e85e845231b52e4d8816fa5db8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -15,6 +15,7 @@ version 0.9.6 -- unreleased
           new syntax.
         . Support every duplicity-supported transport with new configuration
           option desturl (Closes: #483712, #346040, Trac#2).
+        . Actually allow to backup only VServers, by relaxing $include test.
        ldap:
         . support HDB backend just as the BDB one, and make message clearer
           when no supported backend is found (Closes: #476910)
index 0f4e58e0a65fa466ca297a297fc68766a5583b34..2854974d43a49e906ef735571e44a0ba325f4f31 100644 (file)
@@ -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