X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/