summary refs log tree commit diff
path: root/catsitd.8
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-08-15 23:11:09 -0400
committerJune McEnroe <june@causal.agency>2020-08-15 23:11:09 -0400
commit1c4dd05f407633b9d8ca156a7ee4984e1b131cf6 (patch)
tree8a15e665d2d9686dc6185f8c489d8fb744173ddd /catsitd.8
parentRemove EX_CONFIG from default stopexits (diff)
downloadcatsit-1c4dd05f407633b9d8ca156a7ee4984e1b131cf6.tar.gz
catsit-1c4dd05f407633b9d8ca156a7ee4984e1b131cf6.zip
Add 126 to hardcoded stop exits
> If a command is not found, the exit status shall be 127. If the
> command name is found, but it is not an executable utility, the exit
> status shall be 126. Applications that invoke utilities without using
> the shell should use these exit status values to report similar errors.

[1]: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_08_02
Diffstat (limited to 'catsitd.8')
-rw-r--r--catsitd.84
1 files changed, 2 insertions, 2 deletions
diff --git a/catsitd.8 b/catsitd.8
index abedb13..3bc4b3f 100644
--- a/catsitd.8
+++ b/catsitd.8
@@ -122,8 +122,8 @@ The default list contains the values of
 .Dv EX_CANTCREAT
 defined in
 .Xr sysexits 3 .
-The exit status 127
-is always treated as a stop exit.
+The exit statuses 127 and 126
+are always treated as stop exits.
 .
 .It Fl t Ar restart
 Set the initial interval in milliseconds