handlers/dup: now works when multiple vservers names are given (separated by space) in vsnames config variable

This commit is contained in:
intrigeri 2006-01-17 22:21:58 +00:00
parent 66d619bf64
commit aff6fdf349

View 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