Browse Source

minor cosmetics

pull/1522/head
diseq 8 years ago
parent
commit
0b52d79cb0
  1. 4
      dnsapi/dns_one.sh

4
dnsapi/dns_one.sh

@ -116,12 +116,12 @@ dns_one_rm() {
response="$(_post "$postdata" "https://www.one.com/admin/ajax-dns-entries.do" "" "POST")"
response="$(echo "$response" | _normalizeJson)"
_debug response $response
_debug response "$response"
# remove _acme-challenge subdomain
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"

Loading…
Cancel
Save