commit | 658c49b55f453285d38100555c5a292f6e39de2a | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Fri Feb 23 17:30:35 2018 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Fri Feb 23 17:30:35 2018 +0000 |
tree | a9ecf180a5739e94503eabfc3705eca9cfdcdf7b | |
parent | 52d0ad7033d8dae47794f7e307c634580065a5f2 [diff] | |
parent | e9f6953dea90f262e3c22e90001ee458b3ea40c2 [diff] |
Merge "Fix broken time comparison." am: e9f6953dea Change-Id: I42a9cadc6a1460340487be4bbcbe8f4d8bb0aae5
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; }