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-Tag: backupninja-0.9.3~38 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=aff6fdf34988b472e0bc016e48dc792ea214918c;p=matthijs%2Fupstream%2Fbackupninja.git handlers/dup: now works when multiple vservers names are given (separated by space) in vsnames config variable --- 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