Bug in /usr/bin/ping

Dave Korn dave.korn@artimi.com
Wed May 28 10:46:00 GMT 2008


Tom Van Looy wrote on 28 May 2008 11:12:

> Hi
> 
> /usr/bin/ping does not return the correct return code on ping failure.
> See example below, the .8 host does not exist, .9 does exist:
> 
> $ ping 56 1 192.168.20.9 > /dev/null ; echo $?
> 0
> $ ping 56 1 192.168.20.8 > /dev/null ; echo $?
> 0

> I didn't look into the ping source, so no diff ...

  Didn't read the --help, either, as far as I can see.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list