summaryrefslogtreecommitdiffstats
path: root/usr.bin/locate
diff options
context:
space:
mode:
authorzhuk <zhuk@openbsd.org>2020-01-07 11:26:25 +0000
committerzhuk <zhuk@openbsd.org>2020-01-07 11:26:25 +0000
commitefec57fa27d554db9f8a3d4fc6daa2c74147001a (patch)
tree2acaf8f707aafaa0f8a451dda02ea7d1774274c5 /usr.bin/locate
parentImprove the description of -m/-M/MANPATH/man.conf in multiple respects (diff)
downloadwireguard-openbsd-efec57fa27d554db9f8a3d4fc6daa2c74147001a.tar.xz
wireguard-openbsd-efec57fa27d554db9f8a3d4fc6daa2c74147001a.zip
Clarify that zero matches are not an error.
input & okay schwarze@
Diffstat (limited to 'usr.bin/locate')
-rw-r--r--usr.bin/locate/locate/locate.17
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/locate/locate/locate.1 b/usr.bin/locate/locate/locate.1
index 7b48e30380b..0c0383fd0ab 100644
--- a/usr.bin/locate/locate/locate.1
+++ b/usr.bin/locate/locate/locate.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: locate.1,v 1.31 2019/01/17 06:15:44 tedu Exp $
+.\" $OpenBSD: locate.1,v 1.32 2020/01/07 11:26:25 zhuk Exp $
.\"
.\" Copyright (c) 1995 Wolfram Schneider <wosch@FreeBSD.org>. Berlin.
.\" Copyright (c) 1990, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)locate.1 8.1 (Berkeley) 6/6/93
.\"
-.Dd $Mdocdate: January 17 2019 $
+.Dd $Mdocdate: January 7 2020 $
.Dt LOCATE 1
.Os
.Sh NAME
@@ -166,6 +166,9 @@ script to update the locate database
.It Pa /var/db/locate.database
locate database
.El
+.Sh EXIT STATUS
+.Ex -std locate
+Zero matches are not considered an error.
.Sh SEE ALSO
.Xr find 1 ,
.Xr fnmatch 3 ,