if md5 check is not selected for subpartitions, don't check it.
Change-Id: I7248c75f17c6f82e098831c297c0662ef6ea289f
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user