mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-11 05:32:48 +00:00
minor cosmetics
This commit is contained in:
parent
78f8897dc6
commit
0b52d79cb0
@ -116,12 +116,12 @@ dns_one_rm() {
|
|||||||
response="$(_post "$postdata" "https://www.one.com/admin/ajax-dns-entries.do" "" "POST")"
|
response="$(_post "$postdata" "https://www.one.com/admin/ajax-dns-entries.do" "" "POST")"
|
||||||
response="$(echo "$response" | _normalizeJson)"
|
response="$(echo "$response" | _normalizeJson)"
|
||||||
|
|
||||||
_debug response $response
|
_debug response "$response"
|
||||||
|
|
||||||
# remove _acme-challenge subdomain
|
# remove _acme-challenge subdomain
|
||||||
mysubdomainid=$(printf -- "%s" "$response" | sed -n "s/.*{\"subDomain\":\"$mysubdomain\"[^}]*,\"value\":\"$txtvalue\",\"id\":\"\([0-9][0-9]*\)\"}.*/\1/p")
|
mysubdomainid=$(printf -- "%s" "$response" | sed -n "s/.*{\"subDomain\":\"$mysubdomain\"[^}]*,\"value\":\"$txtvalue\",\"id\":\"\([0-9][0-9]*\)\"}.*/\1/p")
|
||||||
|
|
||||||
if [ $mysubdomainid ]; then
|
if [ "$mysubdomainid" ]; then
|
||||||
|
|
||||||
_debug mysubdomainid "$mysubdomainid"
|
_debug mysubdomainid "$mysubdomainid"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user