Date: Mon, 23 Dec 2002 23:30:11 -0800 (PST) From: Avleen Vig <spam-pr@silverwraith.com> To: Tom Rhodes <trhodes@FreeBSD.org> Cc: "freebsd-bugs@FreeBSD.org" <freebsd-bugs@FreeBSD.org> Subject: Re: bin/46501: Ping exits 2 when it should exit 1 Message-ID: <20021223232642.W10191-100000@guava.silverwraith.com> In-Reply-To: <200212240644.gBO6iKWD099489@freefall.freebsd.org> References: <200212240644.gBO6iKWD099489@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> Exit is already documented as 2, like the code. > This has been 2 for a long time now, why do you want to change it > all of a sudden? In my opinion this change isn't correct because so > many other utilities are using exit(2); also. Ping is documented as I stated in ping(8) as exiting 1 when it actually exits 2. I don't know of any other utils that exit(2) when they don't have somthing exiting 1 already. It makes little sense to exit(2) when there's nothing in ping that will exit(1). Thus it makes sense to correct this. I don't believe "it haven't been changed for a long time" is a valid reason for leaving something broken/incorrect. If this won't be fixed, then the documentation needs to be fixed, but I don't feel that's correct. 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?20021223232642.W10191-100000>