mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-10 04:52:49 +00:00
Fix removing record bug on alidns
This commit is contained in:
parent
43e9553ebc
commit
aefa5788a8
@ -185,7 +185,7 @@ _clean() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
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"
|
_debug2 record_id "$record_id"
|
||||||
|
|
||||||
if [ -z "$record_id" ]; then
|
if [ -z "$record_id" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user