[initramfs] That's not a safety setting

- Don't confuse a method declaration with an object.
 - Thanks clang for warning me.
This commit is contained in:
Adriaan de Groot 2019-07-04 16:23:21 +02:00
parent e2028cf85b
commit 97e44f971d

View File

@ -41,7 +41,7 @@ InitramfsJob::prettyName() const
Calamares::JobResult
InitramfsJob::exec()
{
CalamaresUtils::UMask( CalamaresUtils::UMask::Safe );
CalamaresUtils::UMask m( CalamaresUtils::UMask::Safe );
cDebug() << "Updating initramfs with kernel" << m_kernel;
auto r = CalamaresUtils::System::instance()->targetEnvCommand(