>From c02e417956fc300e17ef2c145bc87f7b6992c92d Mon Sep 17 00:00:00 2001 From: Rodrigo Campos Date: Wed, 29 Feb 2012 11:36:18 -0300 Subject: [PATCH] maint: timeout: document the exit status when run with "-s KILL" Although it was documented in code comments, it was not properly documented on the man page. --- src/timeout.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/timeout.c b/src/timeout.c index 73367c4..17f610c 100644 --- a/src/timeout.c +++ b/src/timeout.c @@ -236,7 +236,9 @@ If the command times out, then exit with status 124. Otherwise, exit\n\ with the status of COMMAND. If no signal is specified, send the TERM\n\ signal upon timeout. The TERM signal kills any process that does not\n\ block or catch that signal. For other processes, it may be necessary to\n\ -use the KILL (9) signal, since this signal cannot be caught.\n"), stdout); +use the KILL (9) signal, since this signal cannot be caught.\n +Also, if the KILL (9) signal is used, the exit status when the command times\n +out is 128+9 rather than 124.\n"), stdout); emit_ancillary_info (); } exit (status); -- 1.7.9