daemon: assume child is dead if its lockfile is unlocked (refs #417)
This commit is contained in:
parent
a3e0bdcffc
commit
125ab8dbf7
|
@ -53,6 +53,8 @@
|
||||||
array_push($tmp, $pid);
|
array_push($tmp, $pid);
|
||||||
} else {
|
} else {
|
||||||
_debug("[reap_children] child $pid seems active but lockfile is unlocked.");
|
_debug("[reap_children] child $pid seems active but lockfile is unlocked.");
|
||||||
|
unset($ctimes[$pid]);
|
||||||
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
_debug("[reap_children] child $pid reaped.");
|
_debug("[reap_children] child $pid reaped.");
|
||||||
|
|
Loading…
Reference in New Issue