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

Commit afbf5f9f authored by android-build-prod (mdb)'s avatar android-build-prod (mdb) Committed by android-build-merger
Browse files

Merge "tombstoned: don't bail out if we fail to unlink a file that isn't there." am: 57adfb84

am: 2ad163b4

Change-Id: I32713edd4d3d0c1d36a3c811ea317567195489b0
parents 86a633d6 2ad163b4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -352,7 +352,7 @@ static void crash_completed_cb(evutil_socket_t sockfd, short ev, void* arg) {
    std::string fd_path = StringPrintf("/proc/self/fd/%d", crash->crash_tombstone_fd.get());
    std::string tombstone_path = CrashQueue::for_crash(crash)->get_next_artifact_path();
    int rc = unlink(tombstone_path.c_str());
    if (rc != 0) {
    if (rc != 0 && errno != ENOENT) {
      PLOG(ERROR) << "failed to unlink tombstone at " << tombstone_path;
      goto fail;
    }