From 0c71c7cd980e339a96c292252a84aa1eebfd6938 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Mon, 5 Jan 2009 17:08:33 +0100 Subject: [PATCH] ldap: Run on host when vsnames is empty. --- handlers/ldap.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2