Kamenik, Aleksander wrote:

> So wget -N always retuns 0 on success (tested 1.12 too). Success is both
> downloading a file and not downloading it due to current timestamp.

I think it would be useful for wget to distinguish between these two use cases. 
I would be happy if -N without a download always set the error code to 1, but I 
suppose that might break existing scripts so perhaps a command line option is 
needed. (I sat here trying to come up with a meaningful name for that option, 
but I had no flash of inspiration.)

Tony


Reply via email to