mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-25 14:41:40 +00:00
fix 404 for wget
This commit is contained in:
parent
39a1f1ef64
commit
f731a4c704
2
acme.sh
2
acme.sh
@ -1609,7 +1609,7 @@ _get() {
|
|||||||
$_WGET --user-agent="$USER_AGENT" --header "$_H5" --header "$_H4" --header "$_H3" --header "$_H2" --header "$_H1" -O - "$url"
|
$_WGET --user-agent="$USER_AGENT" --header "$_H5" --header "$_H4" --header "$_H3" --header "$_H2" --header "$_H1" -O - "$url"
|
||||||
fi
|
fi
|
||||||
ret=$?
|
ret=$?
|
||||||
if [ "$_ret" = "8" ]; then
|
if [ "$ret" = "8" ]; then
|
||||||
ret=0
|
ret=0
|
||||||
_debug "wget returns 8, the server returns a 'Bad request' respons, lets process the response later."
|
_debug "wget returns 8, the server returns a 'Bad request' respons, lets process the response later."
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user