ldap: Run on host when vsnames is empty.
authorMatthijs Kooijman <matthijs@stdin.nl>
Mon, 5 Jan 2009 16:08:33 +0000 (17:08 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Wed, 7 Jan 2009 20:49:35 +0000 (21:49 +0100)
handlers/ldap.in

index 65dd85375e13a6f1066a376ee2cfc6cd9040da65..6197183162ae413d89d96eedec1fdc5d491ce8bd 100644 (file)
@@ -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