]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: timeout --kill-after: clarify disabled timeouts
authorPádraig Brady <P@draigBrady.com>
Tue, 12 Oct 2021 13:47:44 +0000 (14:47 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 12 Oct 2021 13:47:44 +0000 (14:47 +0100)
* 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

index 02aae4ef4bb9657fdecefd6dda0effea7105de86..5e0c019f9a98a891ab232a45d41e051ab359eba3 100644 (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