Merge "init: fix errno handling on KillProcessGroup" am: f890ca9a1f am: db9f2cb46d
am: c7e559ca40
Change-Id: I297778909c6b134178928462cb995f3e65d44b9a
This commit is contained in:
commit
01d9b0e11c
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ void Service::KillProcessGroup(int signal) {
|
|||
r = killProcessGroup(uid_, pid_, signal);
|
||||
}
|
||||
if (r == -1) {
|
||||
PLOG(ERROR) << "killProcessGroup(" << uid_ << ", " << pid_ << ", " << signal << ") failed";
|
||||
LOG(ERROR) << "killProcessGroup(" << uid_ << ", " << pid_ << ", " << signal << ") failed";
|
||||
}
|
||||
if (kill(-pid_, signal) == -1) {
|
||||
PLOG(ERROR) << "kill(" << pid_ << ", " << signal << ") failed";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue