summaryrefslogtreecommitdiffstats
path: root/partition.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--partition.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/partition.cpp b/partition.cpp
index 00f84a128..31a3f8fae 100644
--- a/partition.cpp
+++ b/partition.cpp
@@ -1327,6 +1327,8 @@ bool TWPartition::Check_MD5(string restore_folder) {
int index = 0;
twrpDigest md5sum;
+ sync();
+
memset(split_filename, 0, sizeof(split_filename));
Full_Filename = restore_folder + "/" + Backup_FileName;
if (!TWFunc::Path_Exists(Full_Filename)) {