clean TXT records when error happens.

https://github.com/Neilpang/acme.sh/issues/2037
This commit is contained in:
neilpang committed 2019-01-21 22:09:13 +08:00
1 parent 0b934232fd
commit b15c1ffedc
1 file changed
+4 -1
+4 -1
View File
@@ -2921,7 +2921,10 @@ _clearup() {
_clearupdns() {
_debug "_clearupdns"
if [ "$dnsadded" != 1 ] || [ -z "$vlist" ]; then
_debug "dnsadded" "$dnsadded"
_debug "vlist" "$vlist"
#dnsadded is "0" or "1" means dns-01 method was used for at least one domain
if [ -z "$dnsadded" ] || [ -z "$vlist" ]; then
_debug "skip dns."
return
fi
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.