Keep the fsck log in /dev/fscklogs/fsck for bug report
Let's keep the log for bug report. Bug: 230637147 Signed-off-by: Jaegeuk Kim <jaegeuk@google.com> Change-Id: I4392c8b6d0332a18ea9302bdf53f902fde6d03dd
This commit is contained in:
@@ -478,8 +478,9 @@ public class BootReceiver extends BroadcastReceiver {
|
||||
addFileToDropBox(db, timestamps, headers, "/dev/fscklogs/log", maxSize, tag);
|
||||
}
|
||||
|
||||
// Remove the file so we don't re-upload if the runtime restarts.
|
||||
file.delete();
|
||||
// Rename the file so we don't re-upload if the runtime restarts.
|
||||
File pfile = new File("/dev/fscklogs/fsck");
|
||||
file.renameTo(pfile);
|
||||
}
|
||||
|
||||
private static void logFsMountTime() {
|
||||
|
||||
Reference in New Issue
Block a user