From 125ab8dbf7387bf57f0c3285fc3e7a8ce2013aaa Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 11 Jan 2012 15:14:44 +0400 Subject: [PATCH] daemon: assume child is dead if its lockfile is unlocked (refs #417) --- update_daemon2.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update_daemon2.php b/update_daemon2.php index 62bd7591..80848bd0 100755 --- a/update_daemon2.php +++ b/update_daemon2.php @@ -53,6 +53,8 @@ array_push($tmp, $pid); } else { _debug("[reap_children] child $pid seems active but lockfile is unlocked."); + unset($ctimes[$pid]); + } } else { _debug("[reap_children] child $pid reaped."); -- 2.39.5