diff options
Diffstat (limited to '')
-rw-r--r-- | partitionmanager.cpp | 2 |
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; } } |