Merge "init: fix errno handling on KillProcessGroup"

This commit is contained in:
Tom Cherry 2017-04-20 20:48:48 +00:00 committed by Gerrit Code Review
commit f890ca9a1f
1 changed files with 1 additions and 1 deletions

View File

@ -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";