-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Patrick wrote: > GNU Wget 1.10.2, and it's more an inconsitency than a bug.
I definitely consider it a bug. > Basically, if something goes wrong with the network connection > while downloading recursively, wget will time-out as expected, but > without reporting any kind of an error. No non-zero exit status, > at least. > > So when I put this in a script; > > while : > do > wget -c -r -T 33 -np \ > 'http://www.tux.org/pub/people/kent-robotti/looplinux/rip/docs/' && \ > break || \ > sleep 11 > done > # End > > > This is what happens if the connection is dropped, or if there > was none to begin with; > > --09:29:11-- > http://www.tux.org/pub/people/kent-robotti/looplinux/rip/docs/ > => > `www.tux.org/pub/people/kent-robotti/looplinux/rip/docs/index.html' > Resolving www.tux.org... failed: Temporary failure in name resolution. > > FINISHED --09:29:11-- > Downloaded: 0 bytes in 0 files > > > Then the script exits, believing the download finished without > any trouble. This appears to still be the case. I consider this an important bug. ...but probably not a show-stopper. It _should_ be easy enough to fix, so hopefully I'll have it in in time for release (and of course, if someone wants to submit a patch I'll be grateful); but it's possible it'd have to wait until 1.12. :\ - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer... http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHQyvq7M8hyUobTrERCN2nAJ99MGd59A+nmLI2Xe+sAwsEcSgdVACfYNXn riefDalraLmUigxwIwXtGpw= =0eiB -----END PGP SIGNATURE-----