Browse Source

Merge aefa5788a8 into d3da603292

pull/1419/merge
Sempr 8 years ago
committed by GitHub
parent
commit
8973ca9889
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dnsapi/dns_ali.sh

2
dnsapi/dns_ali.sh

@ -185,7 +185,7 @@ _clean() {
return 1
fi
record_id="$(echo "$response" | tr '{' "\n" | grep "$_sub_domain" | grep "$txtvalue" | tr "," "\n" | grep RecordId | cut -d '"' -f 4)"
record_id="$(echo "$response" | tr '{' "\n" | grep "$_sub_domain" | grep "$txtvalue" | tr "," "\n" | grep RecordId | head -1 | cut -d '"' -f 4)"
_debug2 record_id "$record_id"
if [ -z "$record_id" ]; then

Loading…
Cancel
Save