Ángel González
de2397fece
timeout: add --preserve-status to always propagate the exit status
...
It's useful for commands that support running for an indeterminite
amount of time, to not return a specific timeout exit status (124),
and instead let the command handle the timeout signal and return
a status for the work done so far.
* doc/coreutils.texi (timeout invocation): Describe the new option.
* src/timeout.c (preserve_status): A new global boolean to
enable the --preserve-status behavior.
(usage): Describe the new option.
(main): Don't return EXIT_TIMEOUT of preserve_status is set.
* tests/misc/timeout.sh: Add a test for the new option.
2012-11-04 01:48:14 +00:00
..
2012-10-04 22:06:40 +02:00
2012-01-09 21:50:08 +01:00
2012-03-07 12:59:00 +00:00
2009-08-25 09:21:00 +02:00
2012-05-08 02:18:39 +01:00
2012-01-09 21:50:08 +01:00
2012-01-27 11:35:24 +01:00
2012-04-16 15:12:02 +02:00
2012-01-27 11:35:24 +01:00
2012-01-27 11:35:24 +01:00
2012-01-27 11:35:24 +01:00
2012-01-27 11:35:24 +01:00
2012-05-28 02:50:11 +01:00
2012-05-08 02:18:39 +01:00
2012-09-28 12:21:02 +02:00
2012-09-28 12:21:02 +02:00
2012-01-27 11:35:24 +01:00
2008-11-20 10:21:52 +01:00
2012-09-28 12:21:02 +02:00
2012-06-26 11:27:32 +01:00
2012-05-02 10:31:47 +02:00
2012-01-09 21:51:59 +01:00
2012-01-27 11:35:24 +01:00
2012-09-24 15:14:23 +01:00
2012-08-26 22:39:12 +02:00
2012-01-11 09:27:50 +01:00
2012-05-21 17:01:20 +02:00
2012-03-10 19:53:06 +00:00
2012-01-27 11:35:24 +01:00
2012-09-30 14:34:20 +02:00
2012-01-27 11:35:24 +01:00
2012-01-27 11:35:24 +01:00
2012-01-27 11:35:24 +01:00
2012-05-08 02:18:39 +01:00
2012-10-17 18:17:56 +02:00
2012-01-01 10:04:06 +01:00
2012-01-27 11:35:24 +01:00
2012-11-04 00:49:04 +00:00
2011-07-15 10:55:04 +01:00
2012-01-01 10:04:06 +01:00
2012-01-01 10:04:06 +01:00
2012-05-16 07:39:09 +02:00
2012-01-27 11:35:24 +01:00
2012-01-07 16:54:26 +01:00
2012-05-20 17:29:32 +02:00
2012-01-01 10:04:06 +01:00
2012-01-09 21:50:08 +01:00
2012-06-05 22:41:06 +02:00
2012-01-27 11:35:24 +01:00
2012-01-27 11:35:24 +01:00
2012-05-20 17:29:32 +02:00
2012-09-28 12:21:02 +02:00
2012-05-02 10:31:53 +02:00
2012-11-04 00:49:04 +00:00
2012-01-27 11:35:24 +01:00
2012-01-01 10:04:06 +01:00
2012-01-27 11:35:24 +01:00
2012-03-22 20:51:20 +00:00
2012-10-25 12:47:16 +01:00
2012-01-27 11:35:24 +01:00
2012-11-04 00:49:04 +00:00
2012-09-16 11:41:50 +01:00
2012-01-09 21:51:59 +01:00
2012-11-04 00:49:04 +00:00
2012-08-24 15:56:26 +01:00
2012-01-27 11:35:24 +01:00
2012-06-22 11:17:38 +01:00
2012-06-22 11:17:38 +01:00
2012-05-21 17:01:54 +02:00
2012-09-28 12:21:02 +02:00
2012-09-28 18:42:05 +02:00
2012-01-27 11:35:24 +01:00
2012-01-27 11:35:24 +01:00
2012-09-06 10:46:35 +01:00
2012-05-10 11:02:42 +02:00
2012-01-01 10:04:06 +01:00
2012-01-01 10:04:06 +01:00
2012-01-27 11:35:24 +01:00
2012-01-09 21:50:08 +01:00
2012-07-15 19:11:45 +02:00
2012-10-25 13:01:13 +01:00
2012-01-27 11:35:24 +01:00
2012-01-09 21:50:08 +01:00
2012-01-01 10:04:06 +01:00
2012-01-01 10:04:06 +01:00
2012-01-27 11:35:24 +01:00
2012-01-27 11:35:24 +01:00
2012-01-09 21:50:08 +01:00
2012-03-22 20:34:57 +00:00
2012-03-22 20:34:57 +00:00
2012-03-22 20:34:57 +00:00
2012-09-19 09:44:22 +02:00
2012-08-14 18:54:16 +02:00
2012-08-14 18:54:16 +02:00
2012-01-27 11:35:24 +01:00
2012-05-02 10:31:53 +02:00
2012-09-14 23:22:55 +01:00
2012-07-03 20:13:09 +02:00
2012-07-15 11:39:01 +02:00
2012-01-09 21:50:08 +01:00
2012-01-27 11:35:24 +01:00
2012-08-18 07:39:29 +02:00
2012-08-04 11:32:01 +02:00
2012-09-23 09:17:46 +02:00
2012-01-09 21:50:08 +01:00
2012-07-13 15:06:10 +01:00
2012-01-27 11:35:24 +01:00
2012-01-27 11:35:24 +01:00
2012-07-21 12:08:31 +02:00
2012-01-27 11:35:24 +01:00
2012-05-08 02:18:39 +01:00
2012-08-03 14:54:01 +02:00
2012-01-27 11:35:24 +01:00
2012-05-08 02:18:39 +01:00
2012-11-04 01:48:14 +00:00
2012-09-02 13:51:10 +02:00
2012-01-27 11:35:24 +01:00
2012-01-27 11:35:24 +01:00
2012-08-04 12:27:20 +02:00
2012-01-27 11:35:24 +01:00
2012-01-27 11:35:24 +01:00
2007-07-10 19:00:00 +02:00
2007-07-10 19:00:00 +02:00
2012-01-27 11:35:24 +01:00
2012-01-09 21:51:59 +01:00
2012-01-27 11:35:24 +01:00
2012-01-27 11:35:24 +01:00
2012-01-27 11:35:24 +01:00
2012-01-27 11:35:24 +01:00
2012-01-27 11:35:24 +01:00
2012-05-02 10:31:47 +02:00
2012-07-15 19:11:45 +02:00
2012-01-27 11:35:24 +01:00
2012-01-27 11:35:24 +01:00