From: intrigeri Date: Tue, 17 Jan 2006 22:21:58 +0000 (+0000) Subject: handlers/dup: now works when multiple vservers names are given (separated by space... X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=116f376561e019e71e25e5ac31830b76ea89d989;p=matthijs%2Fupstream%2Fbackupninja.git handlers/dup: now works when multiple vservers names are given (separated by space) in vsnames config variable git-svn-id: http://code.autistici.org/svn/backupninja/trunk@317 758a04ac-41e6-0310-8a23-8373a73cc35d --- diff --git a/handlers/dup b/handlers/dup index 5970694..ac7e329 100644 --- a/handlers/dup +++ b/handlers/dup @@ -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