diff --git a/debuggerd/tombstoned/tombstoned.cpp b/debuggerd/tombstoned/tombstoned.cpp index 05d805097..02ded1efe 100644 --- a/debuggerd/tombstoned/tombstoned.cpp +++ b/debuggerd/tombstoned/tombstoned.cpp @@ -448,8 +448,10 @@ static void crash_completed(borrowed_fd sockfd, std::unique_ptr crash) { return; } - if (crash->output.text.fd == -1) { - LOG(WARNING) << "missing output fd"; + if (crash->output.text.fd < 0) { + if (crash->output.text.fd == -1) { + LOG(WARNING) << "skipping tombstone file creation due to intercept"; + } return; }