summaryrefslogtreecommitdiff
path: root/usr.bin/find/find.1
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2010-09-29 07:44:58 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2010-09-29 07:44:58 +0000
commit18c92fc2ba01e7464165f7c02fc5f8293a01f3c3 (patch)
treefaae964424026b841a6c49d080a14bda723340e8 /usr.bin/find/find.1
parent65f9632b4ba1bbfe0de5347d964c4c6640fe1c0f (diff)
various EXIT STATUS fixes; from Daniel Dickman
Diffstat (limited to 'usr.bin/find/find.1')
-rw-r--r--usr.bin/find/find.19
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.bin/find/find.1 b/usr.bin/find/find.1
index 3191d6406b9..0dd9577a082 100644
--- a/usr.bin/find/find.1
+++ b/usr.bin/find/find.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: find.1,v 1.80 2010/09/20 07:03:10 jmc Exp $
+.\" $OpenBSD: find.1,v 1.81 2010/09/29 07:44:56 jmc Exp $
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -31,7 +31,7 @@
.\"
.\" from: @(#)find.1 8.1 (Berkeley) 6/6/93
.\"
-.Dd $Mdocdate: September 20 2010 $
+.Dd $Mdocdate: September 29 2010 $
.Dt FIND 1
.Os
.Sh NAME
@@ -500,6 +500,11 @@ Operators, primaries, and arguments to primaries must be separate
arguments to
.Nm find ,
i.e. they should be separated by whitespace.
+.Sh EXIT STATUS
+The
+.Nm
+utility exits with a value of 0 on successful traversal of all path operands
+or with a value \*(Gt0 if an error occurred.
.Sh EXAMPLES
Print out a list of all the files whose names end in
.Dq \&.c :