Browse Source

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

Andrew Dolgov 12 years ago
parent
commit
125ab8dbf7
1 changed files with 2 additions and 0 deletions
  1. 2 0
      update_daemon2.php

+ 2 - 0
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.");