From b5d60234fa88403109cfc12e0a6df8e42601d8e9 Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Mon, 16 Sep 2019 11:31:53 -0400 Subject: walk.1: Describe walk’s exit status MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- walk.1 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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. -- cgit v1.2.3