Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c7e559ca authored by Tom Cherry's avatar Tom Cherry Committed by android-build-merger
Browse files

Merge "init: fix errno handling on KillProcessGroup" am: f890ca9a

am: db9f2cb4

Change-Id: I9ba2f0e8475a625081a6ae8470772ee7e0e087dc
parents 66cfd45a db9f2cb4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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";