mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-04-30 23:32:44 +00:00
Fix TXT record removal
This commit is contained in:
parent
2961a90e7f
commit
8b3acb719e
@ -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.'
|
||||
|
Loading…
x
Reference in New Issue
Block a user