-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Petr Praus wrote: > Hi, > > wget -m http://www.google.com/foo > Above command returns HTTP error 404 as expected but exit code returned is 0 > > When I run: > wget http://www.google.com/foo > I get 404 as expected and exit code is 1. I believe this inconsistent > behaviour is a bug.
Known issue. Currently tracking at https://savannah.gnu.org/bugs/?23348 Expect to fix for 1.12. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer. GNU Maintainer: wget, screen, teseq http://micah.cowan.name/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAklSgUgACgkQ7M8hyUobTrF1+QCeJ6l+kDUPa3uHsPK1Npx46N98 BBoAn1FHr4rp03D30N2SSbuNX5SS/m4v =lyX/ -----END PGP SIGNATURE-----
