Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Oct 2001 14:50:07 -0700 (PDT)
From:      Dima Dorfman <dima@trit.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/31415: install(1) is wrong about exit codes 
Message-ID:  <200110212150.f9LLo7D89461@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/31415; it has been noted by GNATS.

From: Dima Dorfman <dima@trit.org>
To: Oliver Fromme <olli@secnetix.de>
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 <olli@secnetix.de> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110212150.f9LLo7D89461>