mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 17:05:36 -04:00
Only create a ClearMountsJob for dirty devices.
CAL-195
This commit is contained in:
parent
fd0614ab1c
commit
23eca3db55
1 changed files with 2 additions and 1 deletions
|
@ -283,7 +283,8 @@ PartitionCoreModule::jobs() const
|
|||
|
||||
for ( auto info : m_deviceInfos )
|
||||
{
|
||||
lst << Calamares::job_ptr( new ClearMountsJob( info->device.data() ) );
|
||||
if ( info->isDirty() )
|
||||
lst << Calamares::job_ptr( new ClearMountsJob( info->device.data() ) );
|
||||
}
|
||||
|
||||
for ( auto info : m_deviceInfos )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue