Only create a ClearMountsJob for dirty devices.
CAL-195
This commit is contained in:
parent
fd0614ab1c
commit
23eca3db55
@ -283,6 +283,7 @@ PartitionCoreModule::jobs() const
|
||||
|
||||
for ( auto info : m_deviceInfos )
|
||||
{
|
||||
if ( info->isDirty() )
|
||||
lst << Calamares::job_ptr( new ClearMountsJob( info->device.data() ) );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user