On 14/03/2026 03:55, Collin Funk wrote:
* src/timeout.c (main): Save the process ID before creating a child
process. Check if the result of getppid is different than the saved
process ID instead of checking if it is 1.
* tests/timeout/init-parent.sh: New file.
* tests/local.mk (all_tests): Add the new test.
* NEWS: Mention the bug fix. Also mention that this change allows
'timeout' to work when reparented by a subreaper process instead of
init.
LGTM, as discussed in https://github.com/coreutils/coreutils/issues/219

thanks,
Padraig

Reply via email to