summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbigbiff bigbiff <bigbiff@teamw.in>2014-03-30 20:56:41 +0200
committerbigbiff bigbiff <bigbiff@teamw.in>2014-03-30 20:56:41 +0200
commit0733881369020d1aedd61a0bf8dffb2856ac6022 (patch)
tree1ac91f0f52fc4306593c029508733b28a052a762
parentRe-arrange handling of settings storage partition (diff)
downloadandroid_bootable_recovery-0733881369020d1aedd61a0bf8dffb2856ac6022.tar
android_bootable_recovery-0733881369020d1aedd61a0bf8dffb2856ac6022.tar.gz
android_bootable_recovery-0733881369020d1aedd61a0bf8dffb2856ac6022.tar.bz2
android_bootable_recovery-0733881369020d1aedd61a0bf8dffb2856ac6022.tar.lz
android_bootable_recovery-0733881369020d1aedd61a0bf8dffb2856ac6022.tar.xz
android_bootable_recovery-0733881369020d1aedd61a0bf8dffb2856ac6022.tar.zst
android_bootable_recovery-0733881369020d1aedd61a0bf8dffb2856ac6022.zip
-rw-r--r--partitionmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/partitionmanager.cpp b/partitionmanager.cpp
index f094734c4..3e5d696a6 100644
--- a/partitionmanager.cpp
+++ b/partitionmanager.cpp
@@ -871,7 +871,7 @@ int TWPartitionManager::Run_Restore(string Restore_Name) {
for (subpart = Partitions.begin(); subpart != Partitions.end(); subpart++) {
if ((*subpart)->Is_SubPartition && (*subpart)->SubPartition_Of == restore_part->Mount_Point) {
- if (!(*subpart)->Check_MD5(Restore_Name))
+ if (check_md5 > 0 && !(*subpart)->Check_MD5(Restore_Name))
return false;
}
}