From c14ffa08e25ef1d2e04145e9f63a87997c6bfa20 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Sun, 8 Sep 2024 06:52:56 -0400 Subject: [PATCH] [umount] Minor tweaks in wording and code --- src/modules/umount/UmountJob.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/umount/UmountJob.cpp b/src/modules/umount/UmountJob.cpp index 0f150a244..1e207d9ea 100644 --- a/src/modules/umount/UmountJob.cpp +++ b/src/modules/umount/UmountJob.cpp @@ -80,13 +80,13 @@ unmountTargetMounts( const QString& rootMountPoint ) } // Last we unmount the root - if ( Calamares::Partition::unmount( rootMountPoint, { "-lv" } ) != 0 ) + if ( Calamares::Partition::unmount( rootMountPoint, { "-lv" } ) ) { return Calamares::JobResult::error( QCoreApplication::translate( UmountJob::staticMetaObject.className(), - "Could not unmount the root of target system." ), + "Could not unmount the root of the target system." ), QCoreApplication::translate( UmountJob::staticMetaObject.className(), - "The device mounted at %1 could not be unmounted." ) + "The device mounted at '%1' could not be unmounted." ) .arg( rootMountPoint ) ); }