bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10912: timeout: document the exit status when run with "-s KILL"


From: Rodrigo Campos
Subject: bug#10912: timeout: document the exit status when run with "-s KILL"
Date: Wed, 29 Feb 2012 11:49:47 -0300
User-agent: Mutt/1.5.20 (2009-06-14)

Hi,

Please keep me in Cc: since I'm not subscribed.

I find out that the exit code when a command times out is 128+9 (when run
instede timeout :-D) rather than 124 when is run with "-s KILL". I found this by
looking at the code (well, comments :)) where is pretty clear.

This patch just adds this to the man page, so no one else checks for 124 and
finds out it doesn't exit with that code :)

I tried to copy the first line from other commits, but I might misunderstood the
style. Also, I didn't compile test it, but it seems simple enough. Sorry in
advance if the style is wrong or introduces a build issue. Please let me know
and I'll fix it :S





Thanks a lot,
Rodrigo

Attachment: 0001-maint-timeout-document-the-exit-status-when-run-with.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]