Fix setting partition path when restoring partitions.

BUG: 399791
Cette révision appartient à :
Andrius Štikonas 2019-05-10 02:12:07 +01:00
Parent e1c2ed7567
révision 4b6a26f0f8
1 fichiers modifiés avec 1 ajouts et 1 suppressions

Voir le fichier

@ -125,7 +125,7 @@ bool RestoreOperation::execute(Report& parent)
Report* report = parent.newChild(description());
if (overwrittenPartition())
restorePartition().setPartitionPath(overwrittenPartition()->devicePath());
restorePartition().setPartitionPath(overwrittenPartition()->partitionPath());
if (overwrittenPartition() || (rval = createPartitionJob()->run(*report))) {
restorePartition().setState(Partition::State::None);