summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2008-06-09 16:10:47 +0100
committerJim Meyering <meyering@redhat.com>2008-06-10 08:27:52 +0200
commite63c9825da0a71c27e68cd76c6ebf5468b36cdb1 (patch)
tree00e23028a959c1c57a46857cad2502e6c1440241 /doc
parent263bb1be67cae52f2bf20fdf1edf8e4e716ec4ee (diff)
downloadcoreutils-e63c9825da0a71c27e68cd76c6ebf5468b36cdb1.tar.xz
timeout: use system-independent exit values
Change exit values from ETIMEDOUT and ECANCELED, the values of which are system dependent, to 124 and 125 respectively. * src/timeout.c (EXIT_TIMEDOUT, EXIT_CANCELED): Define. (usage, main): Adjust. * coreutils.texi (timeout invocation): Update. * tests/misc/timeout: Adjust.
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index fa7959d01..a626b4563 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -14106,7 +14106,7 @@ or a number. Also see @xref{Signal specifications}.
Exit status:
@display
-110 if @var{command} times out
+124 if @var{command} times out
125 if @command{timeout} itself fails
126 if @var{command} is found but cannot be invoked
127 if @var{command} cannot be found