Browse Source

fix 404 for wget

cron
neilpang 8 years ago
parent
commit
f731a4c704
  1. 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…
Cancel
Save