1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 16:45:55 +00:00

daemon: assume child is dead if its lockfile is unlocked (refs #417)

This commit is contained in:
Andrew Dolgov
2012-01-11 15:14:44 +04:00
parent a3e0bdcffc
commit 125ab8dbf7

View File

@@ -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.");