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
a180b95c
Commit
a180b95c
authored
May 17, 2019
by
neilpang
Browse files
add more debug info
parent
0093dc3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
a180b95c
...
...
@@ -3044,11 +3044,12 @@ _clearupdns() {
_err
"It seems that your api file doesn't define
$rmcommand
"
return
1
fi
_info
"Removing txt:
$txt
for domain:
$txtdomain
"
if
!
$rmcommand
"
$txtdomain
"
"
$txt
"
;
then
_err
"Error removing txt for domain:
$txtdomain
"
return
1
fi
_info
"Removed: Success"
)
done
...
...
@@ -4063,7 +4064,7 @@ $_authorizations_map"
dns_entry
=
"
$dns_entry$dvsep$txt
${
dvsep
}
$d_api
"
_debug2 dns_entry
"
$dns_entry
"
if
[
"
$d_api
"
]
;
then
_
info
"Found domain api file:
$d_api
"
_
debug
"Found domain api file:
$d_api
"
else
if
[
"
$_currentRoot
"
!=
"
$W_DNS
"
]
;
then
_err
"Can not find dns api hook for:
$_currentRoot
"
...
...
@@ -4088,11 +4089,12 @@ $_authorizations_map"
_err
"It seems that your api file is not correct, it must have a function named:
$addcommand
"
return
1
fi
_info
"Adding txt value:
$txt
for domain:
$txtdomain
"
if
!
$addcommand
"
$txtdomain
"
"
$txt
"
;
then
_err
"Error add txt for domain:
$txtdomain
"
return
1
fi
_info
"The txt record is added: Success."
)
if
[
"
$?
"
!=
"0"
]
;
then
...
...
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