aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@google.com>2019-09-16 11:31:53 -0400
committerGravatar Benjamin Barenblat <bbaren@google.com>2019-09-16 11:31:53 -0400
commitb5d60234fa88403109cfc12e0a6df8e42601d8e9 (patch)
tree7e52132acdaf1d23eed292c7c22d199b57a6d785
parent66cdcec22a236171d2f630747e04d69c590f7dfc (diff)
walk.1: Describe walk’s exit status
-rw-r--r--walk.114
1 files changed, 14 insertions, 0 deletions
diff --git a/walk.1 b/walk.1
index 7fcb3d6..8fab5ea 100644
--- a/walk.1
+++ b/walk.1
@@ -22,6 +22,20 @@ Recursively list the specified
.I DIRECTORY
(or directories). Recursively list the current directory if no directory is
specified.
+.SH "EXIT STATUS"
+.BR walk 's
+exit status is a bitmask indicating errors that occurred.
+.TP
+0x0
+No errors occurred.
+.TP
+0x1
+General error (usually because
+.B walk
+could not traverse a directory due to insufficient permissions).
+.TP
+0x2
+One of the arguments was not a directory.
.SH NOTES
.B walk
does not traverse symlinks.