OSDN Git Service

init: Run restorecon_recursive asynchronously
[android-x86/system-core.git] / init / service.cpp
index 76e0bc8..8127e70 100644 (file)
@@ -780,6 +780,8 @@ bool ServiceManager::ReapOneProcess() {
     } else if (pid == -1) {
         ERROR("waitpid failed: %s\n", strerror(errno));
         return false;
+    } else if (property_child_reap(pid)) {
+        return true;
     }
 
     Service* svc = FindServiceByPid(pid);