chiark / gitweb /
mtimeout.1: Clarify handling of exit statuses.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 2 May 2015 16:05:20 +0000 (17:05 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 17 May 2015 10:22:33 +0000 (11:22 +0100)
mtimeout.1

index 147b097bbe3eb1875a4220e2085a667f1ed8a89f..cc57a4aab5544070134551f6ec8893a2a73df275 100644 (file)
@@ -120,7 +120,7 @@ The
 .B mtimeout
 program sets its exit status as follows.
 .TP
-0\(em127
+0\(em127, 255
 The child process ran to completion within the given time:
 .BR mtimeout 's
 exit status is the same as that of the child process.
@@ -129,6 +129,12 @@ exit status is the same as that of the child process.
 The child process exited in a way which
 .B mtimeout
 could not interpret.
+(Whatever status the child exits with will be propagated;
+but if it exits with some status other than these then
+there is a risk that it will be conflict
+with a status used by
+.B mtimeout
+and be misinterpreted.)
 .TP
 129\(em250
 The child process was killed by a signal: the exit status is 128 higher
@@ -156,9 +162,6 @@ was written to standard error.
 A system call made by
 .B mtimeout
 failed unexpectedly: an error message was written to standard error.
-.TP
-255
-Not used.
 .
 .SH BUGS
 Because