mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-05-28 04:15:51 -04:00
Missed additional quotes
This commit is contained in:
parent
f9ffdbe407
commit
cf2f9ef251
1 changed files with 2 additions and 2 deletions
|
|
@ -125,13 +125,13 @@ dns_qc_rm() {
|
|||
record_id=""
|
||||
|
||||
while IFS= read -r obj || [ -n "$obj" ]; do
|
||||
if echo "$obj" | grep -q '"TXT"' && echo $obj | grep -q '"id"' && echo $obj | grep -q $txtvalue ; then
|
||||
if echo "$obj" | grep -q '"TXT"' && echo "$obj" | grep -q '"id"' && echo "$obj" | grep -q "$txtvalue" ; then
|
||||
_debug "response includes" "$obj"
|
||||
record_id=$(echo "$obj" | sed 's/^\"id\":\([0-9]\+\).*/\1/')
|
||||
break
|
||||
fi
|
||||
done < "$tmpfile"
|
||||
|
||||
|
||||
rm "$tmpfile"
|
||||
|
||||
if [ -z "$record_id" ]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue