Fix setting partition path when restoring partitions.
BUG: 399791
This commit is contained in:
bovenliggende
e1c2ed7567
commit
4b6a26f0f8
|
@ -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);
|
||||
|
|
Laden…
Verwijs in nieuw issue