tools: add fixme comment for waiting on uninterruptible processes

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-05-20 09:47:27 +02:00
parent f74da40ebb
commit c663330d85

View File

@ -1022,6 +1022,7 @@ sub run_fork_with_timeout {
warn $@ if $@;
$pipe_out->close();
kill('KILL', $child);
# FIXME: hangs if $child doesn't exits?! (D state)
waitpid($child, 0);
alarm $prev_alarm;