[partition] Log in more human-readable form
This commit is contained in:
parent
9b3bc3d25f
commit
4fe55533d7
@ -25,14 +25,15 @@ AutoMountManagementJob::prettyName() const
|
|||||||
Calamares::JobResult
|
Calamares::JobResult
|
||||||
AutoMountManagementJob::exec()
|
AutoMountManagementJob::exec()
|
||||||
{
|
{
|
||||||
cDebug() << ( m_stored ? "restore" : m_disable ? "disable" : "enable" );
|
|
||||||
if ( m_stored )
|
if ( m_stored )
|
||||||
{
|
{
|
||||||
|
cDebug() << "Restore automount settings";
|
||||||
CalamaresUtils::Partition::automountRestore( m_stored );
|
CalamaresUtils::Partition::automountRestore( m_stored );
|
||||||
m_stored.reset();
|
m_stored.reset();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
cDebug() << "Set automount to" << ( m_disable ? "disable" : "enable" );
|
||||||
m_stored = CalamaresUtils::Partition::automountDisable( m_disable );
|
m_stored = CalamaresUtils::Partition::automountDisable( m_disable );
|
||||||
}
|
}
|
||||||
return Calamares::JobResult::ok();
|
return Calamares::JobResult::ok();
|
||||||
|
Loading…
Reference in New Issue
Block a user