Break when first hostname has been found

This commit is contained in:
Mirko Geissler
2016-07-05 09:31:53 +02:00
parent fc452e90d4
commit 9b28d80e95

View File

@@ -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"