commit | e9f6953dea90f262e3c22e90001ee458b3ea40c2 | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Fri Feb 23 16:49:45 2018 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Feb 23 16:49:45 2018 +0000 |
tree | a9ecf180a5739e94503eabfc3705eca9cfdcdf7b | |
parent | 8b3b108987b082937899480a393b88263cdebad2 [diff] | |
parent | 3f31b6319f88ba81470c21711dacfb0b8bf11bee [diff] |
Merge "Fix broken time comparison."
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index a641dbb..8258c45 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp
@@ -180,7 +180,7 @@ continue; } - if (limit_by_mtime && st.st_mtime >= thirty_minutes_ago) { + if (limit_by_mtime && st.st_mtime < thirty_minutes_ago) { MYLOGI("Excluding stale dump file: %s\n", abs_path.c_str()); continue; }