mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 10:25:36 -04:00
Prevent segfault on exit when module not found.
This commit is contained in:
parent
045d9cdf8c
commit
9ebc881223
1 changed files with 2 additions and 1 deletions
|
@ -84,7 +84,8 @@ ModuleManager::loadModules( Phase phase )
|
||||||
{
|
{
|
||||||
cDebug() << "Module" << moduleName << "not found in module search paths."
|
cDebug() << "Module" << moduleName << "not found in module search paths."
|
||||||
<< "\nCalamares will now quit.";
|
<< "\nCalamares will now quit.";
|
||||||
qApp->quit();
|
qApp->exit( 1 );
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
if ( m_availableModules.value( moduleName )->isLoaded() )
|
if ( m_availableModules.value( moduleName )->isLoaded() )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue