From: Matthijs Kooijman Date: Mon, 5 Jan 2009 16:08:33 +0000 (+0100) Subject: ldap: Run on host when vsnames is empty. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=0c71c7cd980e339a96c292252a84aa1eebfd6938;p=matthijs%2Fupstream%2Fbackupninja.git ldap: Run on host when vsnames is empty. --- diff --git a/handlers/ldap.in b/handlers/ldap.in index 65dd853..6197183 100644 --- a/handlers/ldap.in +++ b/handlers/ldap.in @@ -26,7 +26,7 @@ fi ### VServers # If vservers are configured, check that the ones listed in $vsnames do exist. local usevserver=no -if [ $vservers_are_available = yes ]; then +if [ $vservers_are_available = yes -a -n "$vsnames" ]; then if [ "$vsnames" = all ]; then vsnames="$found_vservers" else