Fix TXT record removal

pull/3959/head
Martin Arndt 2023-07-05 13:04:08 +02:00 committed by GitHub
parent 2961a90e7f
commit 8b3acb719e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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