fix: start zone detection from i=1 per acme.sh convention

This commit is contained in:
Kilian Ries
2026-01-23 09:20:00 +01:00
parent 713251c65b
commit 9c245eb37a

View File

@@ -134,7 +134,7 @@ _get_zone() {
domain=$(echo "$1" | sed 's/\.$//')
_debug "Finding zone for: $domain"
i=2
i=1
p=1
while true; do
h=$(printf "%s" "$domain" | cut -d . -f "$i"-100)