From: intrigeri Date: Tue, 24 Jun 2008 15:39:03 +0000 (+0000) Subject: dup: actually allow to backup only VServers, by relaxing $include test X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=98bc74d8f1926c71706096ba69792086b8ae5f7d;p=matthijs%2Fupstream%2Fbackupninja.git dup: actually allow to backup only VServers, by relaxing $include test git-svn-id: http://code.autistici.org/svn/backupninja/trunk@573 758a04ac-41e6-0310-8a23-8373a73cc35d --- diff --git a/ChangeLog b/ChangeLog index c32acb8..d139bf8 100644 --- 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) 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