diff --git a/debuggerd/client/debuggerd_client.cpp b/debuggerd/client/debuggerd_client.cpp index 785df99c5..610b96b22 100644 --- a/debuggerd/client/debuggerd_client.cpp +++ b/debuggerd/client/debuggerd_client.cpp @@ -72,7 +72,7 @@ bool debuggerd_trigger_dump(pid_t tid, DebuggerdDumpType dump_type, unsigned int std::string error; if (!android::procinfo::GetProcessInfo(tid, &procinfo, &error)) { LOG(ERROR) << "libdebugged_client: failed to get process info: " << error; - return -1; + return false; } pid = procinfo.pid; }