From owner-freebsd-bugs Tue Dec 24 1: 0:23 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B89B37B401 for ; Tue, 24 Dec 2002 01:00:22 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B53EE43EDC for ; Tue, 24 Dec 2002 01:00:21 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gBO90LNS036674 for ; Tue, 24 Dec 2002 01:00:21 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gBO90LBj036673; Tue, 24 Dec 2002 01:00:21 -0800 (PST) Date: Tue, 24 Dec 2002 01:00:21 -0800 (PST) Message-Id: <200212240900.gBO90LBj036673@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Tom Rhodes Subject: Re: bin/46501: Ping exits 2 when it should exit 1 Reply-To: Tom Rhodes Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/46501; it has been noted by GNATS. From: Tom Rhodes To: Avleen Vig Cc: maxim@FreeBSD.org, bug-followup@FreeBSD.org Subject: Re: bin/46501: Ping exits 2 when it should exit 1 Date: Tue, 24 Dec 2002 03:53:58 -0500 On Tue, 24 Dec 2002 00:45:05 -0800 (PST) Avleen Vig wrote: > On Tue, 24 Dec 2002, Maxim Konovalov wrote: > > > RETURN VALUES > > The ping utility returns an exit status of zero if at least one > > response was heard from the specified host; a status of two if > > the transmission > > ----------------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > ^^^^^^^^ > > was successful but no responses were received; or another value > > (from) if an error occurred. > > My sincerest apologies. I think I'm going completely mad. > I don't know how I read that as 'exists one if the...'. > > It still seems to make little sense to have it exit(2) if nothing will > cause it to exit(1). > But I shan't argue this further. Thanks folks. Sorry for the hassle. > In all honesty we are not trying to drive you nuts. While it may seem to be a logical change, it will break scripts, compatibility or worse. We thank you for the effort though! -- Tom Rhodes To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message