OSDN Git Service
(root)
/
android-x86
/
system-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
init: Run restorecon_recursive asynchronously
[android-x86/system-core.git]
/
init
/
service.cpp
diff --git
a/init/service.cpp
b/init/service.cpp
index
76e0bc8
..
8127e70
100644
(file)
--- a/
init/service.cpp
+++ b/
init/service.cpp
@@
-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);