mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-08 07:54:13 +00:00
_get_root was not giving me the root domain
changed "i" to 2, now I get the root domain and the easydns request works correctly.
This commit is contained in:
parent
6145465823
commit
5f67fd6615
@ -115,7 +115,7 @@ dns_easydns_rm() {
|
|||||||
# _domain=domain.com
|
# _domain=domain.com
|
||||||
_get_root() {
|
_get_root() {
|
||||||
domain=$1
|
domain=$1
|
||||||
i=1
|
i=2
|
||||||
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