mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 21:21:42 +00:00
minor fix log message.
This commit is contained in:
parent
c7b8f223ee
commit
efd96153d8
4
acme.sh
4
acme.sh
@ -2319,7 +2319,7 @@ __get_domain_new_authz() {
|
|||||||
_Max_new_authz_retry_times=5
|
_Max_new_authz_retry_times=5
|
||||||
_authz_i=0
|
_authz_i=0
|
||||||
while [ "$_authz_i" -lt "$_Max_new_authz_retry_times" ]; do
|
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
|
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."
|
_err "Can not get domain new authz."
|
||||||
return 1
|
return 1
|
||||||
@ -2334,7 +2334,7 @@ __get_domain_new_authz() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
if [ "$_authz_i" = "$_Max_new_authz_retry_times" ]; then
|
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
|
fi
|
||||||
|
|
||||||
if [ ! -z "$code" ] && [ ! "$code" = '201' ]; then
|
if [ ! -z "$code" ] && [ ! "$code" = '201' ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user