[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] Why limit --max-redirect can results in exit_status 8?
From: |
Peng Yu |
Subject: |
[Bug-wget] Why limit --max-redirect can results in exit_status 8? |
Date: |
Fri, 9 Aug 2019 15:37:06 -0500 |
Hi,
The exit status 8 means "Server issued an error response." But I think
the exit status may not be considered as an error in the specific use
case. Is there a way to make wget return 0 instead?
$ wget -q --spider -S -o /dev/null --max-redirect 1
https://httpbin.org/absolute-redirect/3 || echo $?
8
$ wget -q --spider -S -o /dev/null
https://httpbin.org/absolute-redirect/3 || echo $?
8
--
Regards,
Peng
- [Bug-wget] Why limit --max-redirect can results in exit_status 8?,
Peng Yu <=