mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-24 14:11:42 +00:00
fix retry
https://github.com/acmesh-official/acme.sh/issues/2939#issuecomment-632481658
This commit is contained in:
parent
8837f7e6e8
commit
15dded712c
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"
|
||||
|
Loading…
Reference in New Issue
Block a user