Browse Source

Double quote for globbing

pull/6631/head
Bob Perper 7 days ago
parent
commit
397c0605e5
  1. 4
      dnsapi/dns_qc.sh

4
dnsapi/dns_qc.sh

@ -128,8 +128,8 @@ dns_qc_rm() {
record_id=$(echo $obj | sed 's/^\"id\":\([0-9]\+\).*/\1/') record_id=$(echo $obj | sed 's/^\"id\":\([0-9]\+\).*/\1/')
break break
fi fi
done <$tmpfile
rm $tmpfile
done < "$tmpfile"
rm "$tmpfile"
if [ -z "$record_id" ]; then if [ -z "$record_id" ]; then
_info "TXT record, or $txtvalue not found, nothing to remove" _info "TXT record, or $txtvalue not found, nothing to remove"

Loading…
Cancel
Save