Greetings!

First of all, thanks for maintaining this wonderful software that I've
been using for years without (code) problems.


Today however, I noticed wget behaving in a way that seems
counter-intuitive to me:
------------------------------------------------------------ 8<
------------------------------------------------------------
mirror@host:~> wget -t 1 --bind-address=123.123.123.123 www.google.com
--2015-09-02 15:33:17--  http://www.google.com/
Resolving www.google.com (www.google.com)... 2a00:1450:400f:805::2004,
216.58.209.100
Connecting to www.google.com
(www.google.com)|2a00:1450:400f:805::2004|:80... failed: Invalid
argument.
Connecting to www.google.com (www.google.com)|216.58.209.100|:80...
failed: Cannot assign requested address.
Giving up.

mirror@host:~> wget -nv -t 1 --bind-address=123.123.123.123 www.google.com
mirror@host:~> echo $?
4
------------------------------------------------------------ >8
------------------------------------------------------------

(I'm deliberately trying to bind an IP that is not mine to provoke the error.)
According to the docs, "-nv" only suppresses non-errors. Are those
messages not considered errors?


-- 
Mit freundlichen Grüßen / Kind regards
   Christopher 'm4z' Holm

"We must respect the other fellow's religion, but only in the sense
and to the extent that we respect his theory that his wife is
beautiful and his children smart." --H. L. Mencken

Reply via email to