Hey <@U09M563C7>, I came across <this section of c...
# general
p
Hey @theopolis, I came across this section of code in the process_events.cpp
Copy code
if (stat(row.at("path").c_str(), &file_stat)) {
  // set ctime, atime, mtime
} else {
  VLOG(1) << "Failed to stat path: " << row.at("path");
  // set ctime, atime, mtime to 0
}
Shouldn’t it be
Copy code
if (!stat(row.at("path").c_str(), &file_stat)) { .. }
stat(2) returns 0 on success.