Merge pull request #1869 from dalto8/initramfs-fix

[initramfs] Fix condition when call to uname fails
This commit is contained in:
Adriaan de Groot 2022-01-12 11:31:13 +01:00 committed by GitHub
commit da03e12b7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,6 +81,7 @@ InitramfsJob::setConfigurationMap( const QVariantMap& configurationMap )
}
else
{
m_kernel = QStringLiteral( "all" );
cWarning() << "*initramfs* could not determine running kernel, using 'all'." << Logger::Continuation
<< r.getExitCode() << r.getOutput();
}