diff --git a/src/ops/copyoperation.cpp b/src/ops/copyoperation.cpp index e1e3632..95f91d2 100644 --- a/src/ops/copyoperation.cpp +++ b/src/ops/copyoperation.cpp @@ -142,7 +142,7 @@ bool CopyOperation::execute(Report& parent) // if we have overwritten a partition, reset device path and number if (overwrittenPartition()) { copiedPartition().setDevicePath(overwrittenPartition()->devicePath()); - copiedPartition().setPartitionPath(overwrittenPartition()->devicePath()); + copiedPartition().setPartitionPath(overwrittenPartition()->partitionPath()); } // now run the copy job itself