From owner-freebsd-bugs Sun Oct 21 14:50: 9 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3EB1D37B403 for ; Sun, 21 Oct 2001 14:50:07 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9LLo7D89461; Sun, 21 Oct 2001 14:50:07 -0700 (PDT) (envelope-from gnats) Date: Sun, 21 Oct 2001 14:50:07 -0700 (PDT) Message-Id: <200110212150.f9LLo7D89461@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Dima Dorfman Subject: Re: bin/31415: install(1) is wrong about exit codes Reply-To: Dima Dorfman 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/31415; it has been noted by GNATS. From: Dima Dorfman To: Oliver Fromme Cc: freebsd-gnats-submit@freebsd.org Subject: Re: bin/31415: install(1) is wrong about exit codes Date: Sun, 21 Oct 2001 21:49:31 +0000 Oliver Fromme wrote: > >Fix: > > I suggest a wording like this: > > DIAGNOSTICS > The install utility exits 0 on success, and a > value > 0 according to sysexits(3) otherwise. How about the following, which is a little more consistent with the rest of the man pages: DIAGNOSTICS The install utility exits 0 on success, and >0 if an error occurs. Achieved with: Index: install.1 =================================================================== RCS file: /ref/cvsf/src/usr.bin/xinstall/install.1,v retrieving revision 1.22 diff -u -r1.22 install.1 --- install.1 2001/08/21 15:59:55 1.22 +++ install.1 2001/10/21 21:48:15 @@ -176,9 +176,7 @@ .Pa /dev/null creates an empty file. .Sh DIAGNOSTICS -The -.Nm -utility exits 0 on success, and 1 otherwise. +.Ex -std .Sh FILES .Bl -tag -width INS@XXXX -compact .It Pa INS@XXXX To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message