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

Commit 09e3fe25 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "debuggerd: Fix return type in error case"

parents 6eec7f03 3fa9a59e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -72,7 +72,7 @@ bool debuggerd_trigger_dump(pid_t tid, DebuggerdDumpType dump_type, unsigned int
    std::string error;
    std::string error;
    if (!android::procinfo::GetProcessInfo(tid, &procinfo, &error)) {
    if (!android::procinfo::GetProcessInfo(tid, &procinfo, &error)) {
      LOG(ERROR) << "libdebugged_client: failed to get process info: " << error;
      LOG(ERROR) << "libdebugged_client: failed to get process info: " << error;
      return -1;
      return false;
    }
    }
    pid = procinfo.pid;
    pid = procinfo.pid;
  }
  }