fix 404 for wget

This commit is contained in:
neilpang committed 2017-02-28 21:06:02 +08:00
1 parent 39a1f1ef64
commit f731a4c704
1 file changed
+1 -1
+1 -1
View File
@@ -1609,7 +1609,7 @@ _get() {
$_WGET --user-agent="$USER_AGENT" --header "$_H5" --header "$_H4" --header "$_H3" --header "$_H2" --header "$_H1" -O - "$url"
fi
ret=$?
if [ "$_ret" = "8" ]; then
if [ "$ret" = "8" ]; then
ret=0
_debug "wget returns 8, the server returns a 'Bad request' respons, lets process the response later."
fi
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.