mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-02-07 14:00:55 +08:00
fix: start zone detection from i=1 per acme.sh convention
This commit is contained in:
@@ -134,7 +134,7 @@ _get_zone() {
|
|||||||
domain=$(echo "$1" | sed 's/\.$//')
|
domain=$(echo "$1" | sed 's/\.$//')
|
||||||
_debug "Finding zone for: $domain"
|
_debug "Finding zone for: $domain"
|
||||||
|
|
||||||
i=2
|
i=1
|
||||||
p=1
|
p=1
|
||||||
while true; do
|
while true; do
|
||||||
h=$(printf "%s" "$domain" | cut -d . -f "$i"-100)
|
h=$(printf "%s" "$domain" | cut -d . -f "$i"-100)
|
||||||
|
|||||||
Reference in New Issue
Block a user