Merge f2b248243c1de3f1ddb740cab828f1eb580d744a into 3d8b682380773f01df0e5abc2ef582c30c663010

This commit is contained in:
Erwin Oegema 2025-06-10 10:39:23 +02:00 committed by GitHub
commit 5ed25e3225
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2761,7 +2761,7 @@ _initAPI() {
_request_retry_times=0 _request_retry_times=0
while [ -z "$ACME_NEW_ACCOUNT" ] && [ "${_request_retry_times}" -lt "$MAX_API_RETRY_TIMES" ]; do while [ -z "$ACME_NEW_ACCOUNT" ] && [ "${_request_retry_times}" -lt "$MAX_API_RETRY_TIMES" ]; do
_request_retry_times=$(_math "$_request_retry_times" + 1) _request_retry_times=$(_math "$_request_retry_times" + 1)
response=$(_get "$_api_server") response=$(_get "$_api_server" "" 10)
if [ "$?" != "0" ]; then if [ "$?" != "0" ]; then
_debug2 "response" "$response" _debug2 "response" "$response"
_info "Cannot init API for: $_api_server." _info "Cannot init API for: $_api_server."