Module Name: src
Committed By: wiz
Date: Tue Jul 4 06:53:12 UTC 2017
Modified Files:
src/sbin/chown: chown.8
Log Message:
Add EXIT STATUS section. Use Ex. Sort sections.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sbin/chown/chown.8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/chown/chown.8
diff -u src/sbin/chown/chown.8:1.11 src/sbin/chown/chown.8:1.12
--- src/sbin/chown/chown.8:1.11 Mon Jul 3 21:33:41 2017
+++ src/sbin/chown/chown.8 Tue Jul 4 06:53:12 2017
@@ -26,7 +26,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)chown.8 8.3 (Berkeley) 3/31/94
-.\" $NetBSD: chown.8,v 1.11 2017/07/03 21:33:41 wiz Exp $
+.\" $NetBSD: chown.8,v 1.12 2017/07/04 06:53:12 wiz Exp $
.\"
.Dd September 11, 2016
.Dt CHOWN 8
@@ -151,10 +151,8 @@ Unless invoked by the super-user,
clears the set-user-id and set-group-id bits on a file to prevent
accidental or mischievous creation of set-user-id and set-group-id
programs.
-.Pp
-The
-.Nm
-utility exits 0 on success, and >0 if an error occurs.
+.Sh EXIT STATUS
+.Ex -std chown
.Sh COMPATIBILITY
Previous versions of the
.Nm
@@ -169,11 +167,6 @@ group names may contain the dot characte
.Xr lchown 2 ,
.Xr fts 3 ,
.Xr symlink 7
-.Sh HISTORY
-A
-.Nm
-utility appeared in
-.At v1 .
.Sh STANDARDS
The
.Nm
@@ -184,3 +177,8 @@ The
option and the use of ``#'' to force a numeric lookup
are extensions to
.St -p1003.2 .
+.Sh HISTORY
+A
+.Nm
+utility appeared in
+.At v1 .