From 9b28d80e95ac74864844c5f80cf5eea5f4f5dec2 Mon Sep 17 00:00:00 2001 From: Mirko Geissler Date: Tue, 5 Jul 2016 09:31:53 +0200 Subject: [PATCH] Break when first hostname has been found --- plugins/common/functions | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/common/functions b/plugins/common/functions index d3355830c..98a5e73f2 100755 --- a/plugins/common/functions +++ b/plugins/common/functions @@ -831,6 +831,7 @@ is_global_vhost_enabled() { while read -r GLOBAL_VHOST; do if (is_valid_hostname "$GLOBAL_VHOST"); then local GLOBAL_VHOSTS_ENABLED=true + break fi done <<< "$GLOBAL_VHOSTS"