mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-10-21 13:31:18 +00:00
fix: start zone detection from i=1 per acme.sh convention
This commit is contained in:
1 parent
713251c65b
commit
9c245eb37a
1 file changed
+1
-1
@@ -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)
|
||||
|
||||