mirror of
https://git.proxmox.com/git/pve-common
synced 2025-04-29 05:52:23 +00:00
tools: add fixme comment for waiting on uninterruptible processes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
f74da40ebb
commit
c663330d85
@ -1022,6 +1022,7 @@ sub run_fork_with_timeout {
|
|||||||
warn $@ if $@;
|
warn $@ if $@;
|
||||||
$pipe_out->close();
|
$pipe_out->close();
|
||||||
kill('KILL', $child);
|
kill('KILL', $child);
|
||||||
|
# FIXME: hangs if $child doesn't exits?! (D state)
|
||||||
waitpid($child, 0);
|
waitpid($child, 0);
|
||||||
|
|
||||||
alarm $prev_alarm;
|
alarm $prev_alarm;
|
||||||
|
Loading…
Reference in New Issue
Block a user