Date: Tue, 24 Dec 2002 00:50:04 -0800 (PST) From: Avleen Vig <spam-pr@silverwraith.com> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/46501: Ping exits 2 when it should exit 1 Message-ID: <200212240850.gBO8o4MR034562@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/46501; it has been noted by GNATS. From: Avleen Vig <spam-pr@silverwraith.com> To: Maxim Konovalov <maxim@FreeBSD.org> Cc: Tom Rhodes <trhodes@FreeBSD.org>, "" <bug-followup@FreeBSD.org> Subject: Re: bin/46501: Ping exits 2 when it should exit 1 Date: Tue, 24 Dec 2002 00:45:05 -0800 (PST) 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 > <sysexits.h>) 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212240850.gBO8o4MR034562>