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

Commit bca6e0d1 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 8827792 from e2727a88 to tm-qpr1-release

Change-Id: I1933b7cd8bad8990981f7acb1e318f1ee3d6ac78
parents 75a7b25f e2727a88
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1184,8 +1184,8 @@ static int wait_child(pid_t pid) {
int wait_child_with_timeout(pid_t pid, int timeout_ms) {
    int pidfd = pidfd_open(pid, /*flags=*/0);
    if (pidfd < 0) {
        PLOG(ERROR) << "pidfd_open failed for pid " << pid;
        kill(pid, SIGKILL);
        PLOG(ERROR) << "pidfd_open failed for pid " << pid
                    << ", waiting for child process without timeout";
        return wait_child(pid);
    }