mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 13:11:41 +00:00
clean TXT records when error happens.
https://github.com/Neilpang/acme.sh/issues/2037
This commit is contained in:
parent
0b934232fd
commit
b15c1ffedc
5
acme.sh
5
acme.sh
@ -2921,7 +2921,10 @@ _clearup() {
|
|||||||
|
|
||||||
_clearupdns() {
|
_clearupdns() {
|
||||||
_debug "_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."
|
_debug "skip dns."
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user