mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-04-30 01:32:44 +00:00
fix _get_root() make it start from 1. because we need to support --domain-alias (only version api actual v2)
This commit is contained in:
parent
b29cb08956
commit
112bfccfd5
@ -267,7 +267,7 @@ _get_root() {
|
|||||||
_err "Error read records of all domains $SL_Ver"
|
_err "Error read records of all domains $SL_Ver"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user