Hi,

For the exit status 8, besides the number of max redirects is reached.
Is there any other possibility? Can I have a specific exit status code
just for the max redirection allowed reached? Thanks.

$ wget -q --spider -S -o /dev/null
https://httpbin.org/absolute-redirect/3 || echo $?
$ wget -q --spider -S -o /dev/null --max-redirect 1
https://httpbin.org/absolute-redirect/3 || echo "$?"
8

-- 
Regards,
Peng

Reply via email to