Hi,

I am forwarding you this bug. I can reproduce this on 1.8.1

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=117774&repeatmerged=yes
---


wget seems to always return 0 as return code even when it fails, but
only 
AFAIK when using some wildcard char in the URL. For example:

spiney:~ $ wget --use-proxy=off
"ftp://this.should.be.enough.spiney.org/README?";
--14:18:18--  ftp://this.should.be.enough.spiney.org/README?
           => `.listing'
Connecting to this.should.be.enough.spiney.org:21... 
this.should.be.enough.spiney.org: Host not found
unlink: No such file or directory
spiney:~ $ echo $?
0
spiney:~ $ wget --use-proxy=off
"ftp://this.should.be.enough.spiney.org/README*";
--14:19:12--  ftp://this.should.be.enough.spiney.org/README*
                   => `.listing'
Connecting to this.should.be.enough.spiney.org:21... 
this.should.be.enough.spiney.org: Host not found
unlink: No such file or directory
spiney:~ $ echo $?
0
spiney:~ $ wget --use-proxy=off
"ftp://this.should.be.enough.spiney.org/README";
--14:19:21--  ftp://this.should.be.enough.spiney.org/README
                   => `README'
Connecting to this.should.be.enough.spiney.org:21... 
this.should.be.enough.spiney.org: Host not found
spiney:~ $ echo $?
1
spiney:~ $ 


-- 
Guillaume Morin <[EMAIL PROTECTED]>

              Marry me girl, be my only fairy to the world (RHCP)

Reply via email to