mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-05 21:12:09 +08:00
fix retry
https://github.com/acmesh-official/acme.sh/issues/2939#issuecomment-632481658
This commit is contained in:
2
acme.sh
2
acme.sh
@@ -4517,7 +4517,7 @@ $_authorizations_map"
|
||||
_info "Pending"
|
||||
elif [ "$status" = "processing" ]; then
|
||||
_info "Processing"
|
||||
_retryafter=$(echo "$responseHeaders" | grep -i "^Retry-After *:" | cut -d : -f 2 | tr -d ' ')
|
||||
_retryafter=$(echo "$responseHeaders" | grep -i "^Retry-After *:" | cut -d : -f 2 | tr -d ' ' | tr -d '\r')
|
||||
_debug "_retryafter" "$_retryafter"
|
||||
if [ "$_retryafter" ]; then
|
||||
_info "Retry after: $_retryafter"
|
||||
|
||||
Reference in New Issue
Block a user