handlers/dup: now works when multiple vservers names are given (separated by space...
authorintrigeri <intrigeri@758a04ac-41e6-0310-8a23-8373a73cc35d>
Tue, 17 Jan 2006 22:21:58 +0000 (22:21 +0000)
committerintrigeri <intrigeri@758a04ac-41e6-0310-8a23-8373a73cc35d>
Tue, 17 Jan 2006 22:21:58 +0000 (22:21 +0000)
git-svn-id: http://code.autistici.org/svn/backupninja/trunk@317 758a04ac-41e6-0310-8a23-8373a73cc35d

handlers/dup

index 5970694b03f9b6d5ce3999287bca83daf7e3c948..ac7e3295871cc97eb5b2ceb3cf9b95e5ed79553b 100644 (file)
@@ -45,7 +45,7 @@ if [ "$vservers" == "yes" ]; then
            vsnames="$vserver $vsnames"
        done
     else
-       for vserver in "$vsnames"; do
+       for vserver in $vsnames; do
            [ -d "$VROOTDIR/$vserver" ] || fatal "vserver '$vserver' does not exist."
        done
     fi