From 1c4dd05f407633b9d8ca156a7ee4984e1b131cf6 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sat, 15 Aug 2020 23:11:09 -0400 Subject: 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 --- catsitd.8 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'catsitd.8') 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 -- cgit 1.4.1