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

Reply via email to