Browse Source

Fix TXT record removal

pull/3959/head
Martin Arndt 1 year ago
committed by GitHub
parent
commit
8b3acb719e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dnsapi/dns_artfiles.sh

2
dnsapi/dns_artfiles.sh

@ -76,7 +76,7 @@ dns_artfiles_rm() {
fi fi
_clean_records _clean_records
response="$(printf -- '%s' "$response" | sed '$d')"
response="$(printf -- '%s' "$response" | sed '/_acme-challenge "'"$txtValue"'"/d')"
_dns 'SET' "$response" _dns 'SET' "$response"
if ! _contains "$response" "$AF_API_SUCCESS"; then if ! _contains "$response" "$AF_API_SUCCESS"; then
_err 'Removing ACME challenge value failed.' _err 'Removing ACME challenge value failed.'

Loading…
Cancel
Save