Commit 4b6a26f0 authored by Andrius Štikonas's avatar Andrius Štikonas

Fix setting partition path when restoring partitions.

BUG: 399791
parent e1c2ed75
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment