This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Bug in /usr/bin/ping


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]