Re: Different exit status for 404 error?

2007-09-13 Thread Micah Cowan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alex Owen wrote: Hello, If i run : wget http://server.domain/file How can I differentiate between a network problem that made wget fail of the server sending back a HTTP 404 error? ( I have a use case described in debian bug

Re: Different exit status for 404 error?

2007-09-13 Thread Alex Owen
On 13/09/2007, Micah Cowan [EMAIL PROTECTED] wrote: Alex Owen wrote: I think it would be nice if the exit code of wget could be inspected to determin if wget failed because of a 404 error or some other reason. Hi Alex, We do plan to look evaluate differentiation of exit statuses at