summaryrefslogtreecommitdiffstats
path: root/usr.sbin/netgroup_mkdb
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2018-06-07 11:37:21 +0000
committerjmc <jmc@openbsd.org>2018-06-07 11:37:21 +0000
commite85952726048191006e335a6427e46121332b7c7 (patch)
treebd316b64330ec257c10730c3557cca731d665176 /usr.sbin/netgroup_mkdb
parentuse RELAY_* flags where appropriate (diff)
downloadwireguard-openbsd-e85952726048191006e335a6427e46121332b7c7.tar.xz
wireguard-openbsd-e85952726048191006e335a6427e46121332b7c7.zip
add some EXIT STATUS sections; from matthew martin
Diffstat (limited to 'usr.sbin/netgroup_mkdb')
-rw-r--r--usr.sbin/netgroup_mkdb/netgroup_mkdb.89
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.sbin/netgroup_mkdb/netgroup_mkdb.8 b/usr.sbin/netgroup_mkdb/netgroup_mkdb.8
index bb9b2ac531a..69ebb9def08 100644
--- a/usr.sbin/netgroup_mkdb/netgroup_mkdb.8
+++ b/usr.sbin/netgroup_mkdb/netgroup_mkdb.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: netgroup_mkdb.8,v 1.8 2015/11/30 17:03:05 jmc Exp $
+.\" $OpenBSD: netgroup_mkdb.8,v 1.9 2018/06/07 11:37:21 jmc Exp $
.\"
.\" Copyright (c) 1994 Christos Zoulas
.\" All rights reserved.
@@ -28,7 +28,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 30 2015 $
+.Dd $Mdocdate: June 7 2018 $
.Dt NETGROUP_MKDB 8
.Os
.Sh NAME
@@ -58,9 +58,6 @@ Put the output databases in the named file.
.Pp
The databases are used by the C library netgroup routines (see
.Xr getnetgrent 3 ) .
-.Pp
-.Nm netgroup_mkdb
-exits zero on success, non-zero on failure.
.Sh FILES
.Bl -tag -width 24n -compact
.It Pa /etc/netgroup.db
@@ -70,6 +67,8 @@ a temporary file
.It Pa /etc/netgroup
current netgroup file
.El
+.Sh EXIT STATUS
+.Ex -std netgroup_mkdb
.Sh SEE ALSO
.Xr dbopen 3 ,
.Xr getnetgrent 3 ,