ping returns success on failure
Fri May 4 19:39:00 GMT 2007
Ping returns zero (0) after a successful response from a remote host.
It returns one (1) if it's called with a unknown domain name -- a failure.
Unfortunately, it returns zero if the remote host exists but doesn't respond.
This seems like incorrect behavior to me and doesn't agree with ping on Linux.
This assumes ping is being directed not to loop forever (ping host 1 1 1).
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin