From 13af84d09aee03971600ecb8918cdb67b1358478 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Tue, 12 Oct 2021 14:47:44 +0100 Subject: [PATCH] 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 --- doc/coreutils.texi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 02aae4ef4b..5e0c019f9a 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -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 -- 2.47.2