bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

When can cause exit_status 8?


From: Peng Yu
Subject: When can cause exit_status 8?
Date: Sat, 2 Nov 2019 07:41:22 -0500

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

[Prev in Thread] Current Thread [Next in Thread]