Unverified Commit 8b3acb71 authored by Martin Arndt's avatar Martin Arndt Committed by GitHub
Browse files

Fix TXT record removal

parent 2961a90e
......@@ -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.'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment