Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
efd96153
Commit
efd96153
authored
Nov 11, 2016
by
neilpang
Browse files
minor fix log message.
parent
c7b8f223
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
efd96153
...
...
@@ -2319,7 +2319,7 @@ __get_domain_new_authz() {
_Max_new_authz_retry_times
=
5
_authz_i
=
0
while
[
"
$_authz_i
"
-lt
"
$_Max_new_authz_retry_times
"
]
;
do
_
info
"Try new-authz for the
$_authz_i
time."
_
debug
"Try new-authz for the
$_authz_i
time."
if
!
_send_signed_request
"
$API
/acme/new-authz"
"{
\"
resource
\"
:
\"
new-authz
\"
,
\"
identifier
\"
: {
\"
type
\"
:
\"
dns
\"
,
\"
value
\"
:
\"
$(
_idn
"
$_gdnd
"
)
\"
}}"
;
then
_err
"Can not get domain new authz."
return
1
...
...
@@ -2334,7 +2334,7 @@ __get_domain_new_authz() {
done
if
[
"
$_authz_i
"
=
"
$_Max_new_authz_retry_times
"
]
;
then
_
debug
"new-authz retry reach the max
$_Max_new_authz_retry_times
times."
_
err
"new-authz retry reach the max
$_Max_new_authz_retry_times
times."
fi
if
[
!
-z
"
$code
"
]
&&
[
!
"
$code
"
=
'201'
]
;
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