From: Pádraig Brady Date: Tue, 12 Oct 2021 13:47:44 +0000 (+0100) Subject: doc: timeout --kill-after: clarify disabled timeouts X-Git-Tag: v9.1~201 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13af84d09aee03971600ecb8918cdb67b1358478;p=thirdparty%2Fcoreutils.git 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 --- 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