www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/05/28/06:46:00

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <W6883315829170331211969490 AT nocme1bl6 DOT telenet-ops DOT be>
Subject: RE: Bug in /usr/bin/ping
Date: Wed, 28 May 2008 11:45:32 +0100
Message-ID: <04f101c8c0af$f3ee7540$2708a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <W6883315829170331211969490@nocme1bl6.telenet-ops.be>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019