mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-10 07:02:56 +00:00
Update dns_leaseweb.sh
This commit is contained in:
parent
105c118a0b
commit
badfce6d10
@ -56,7 +56,7 @@ dns_leaseweb_add() {
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
_info "Record already present, OK"
|
_info "Record already present, OK"
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
_info "No TXT records set found. Adding records set"
|
_info "No TXT records set found. Adding records set"
|
||||||
@ -159,9 +159,9 @@ _dns_leaseweb_get_root() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if _contains "$response" "\"domainName\":\"$h\"" >/dev/null; then
|
if _contains "$response" "\"domainName\":\"$h\"" >/dev/null; then
|
||||||
_sub_domain=$(printf "%s" "$domain" | cut -d . -f 1-$p)
|
_sub_domain=$(printf "%s" "$domain" | cut -d . -f 1-$p)
|
||||||
_domain=$h
|
_domain=$h
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
p=$i
|
p=$i
|
||||||
i=$(_math "$i" + 1)
|
i=$(_math "$i" + 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user