Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
b15c1ffe
Commit
b15c1ffe
authored
Jan 21, 2019
by
neilpang
Browse files
clean TXT records when error happens.
https://github.com/Neilpang/acme.sh/issues/2037
parent
0b934232
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
b15c1ffe
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment