From 4fe55533d77bc8dde4dac8dc12baf5becdf0b591 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 1 Mar 2022 14:37:52 +0100 Subject: [PATCH] [partition] Log in more human-readable form --- src/modules/partition/jobs/AutoMountManagementJob.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/partition/jobs/AutoMountManagementJob.cpp b/src/modules/partition/jobs/AutoMountManagementJob.cpp index ed2266f6a..71d3f32ff 100644 --- a/src/modules/partition/jobs/AutoMountManagementJob.cpp +++ b/src/modules/partition/jobs/AutoMountManagementJob.cpp @@ -25,14 +25,15 @@ AutoMountManagementJob::prettyName() const Calamares::JobResult AutoMountManagementJob::exec() { - cDebug() << ( m_stored ? "restore" : m_disable ? "disable" : "enable" ); if ( m_stored ) { + cDebug() << "Restore automount settings"; CalamaresUtils::Partition::automountRestore( m_stored ); m_stored.reset(); } else { + cDebug() << "Set automount to" << ( m_disable ? "disable" : "enable" ); m_stored = CalamaresUtils::Partition::automountDisable( m_disable ); } return Calamares::JobResult::ok();