1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-04 07:43:58 +02:00

doc: timeout --kill-after: clarify disabled timeouts

* doc/coreutils.texi (timeout invocation): Clarify
that -k is ignored if either its duration or the
main timeout duration is 0.
Addresses https://bugs.gnu.org/51128
This commit is contained in:
Pádraig Brady
2021-10-12 14:47:44 +01:00
parent 0750fcdf34
commit 13af84d09a
+3 -2
View File
@@ -18273,8 +18273,9 @@ The specified @var{duration} starts from the point in time when
@command{timeout} sends the initial signal to @var{command}, i.e.,
not from the beginning when the @var{command} is started.
This option has no effect if @command{timeout}'s duration is 0 which
disables the associated timeout.
This option has no effect if either the main @var{duration}
of the @command{timeout} command, or the @var{duration} specified
to this option, is 0.
This option may be useful if the selected signal did not kill the @var{command},
either because the signal was blocked or ignored, or if the @var{command} takes