Prevent segfault on exit when module not found.
This commit is contained in:
parent
045d9cdf8c
commit
9ebc881223
@ -84,7 +84,8 @@ ModuleManager::loadModules( Phase phase )
|
||||
{
|
||||
cDebug() << "Module" << moduleName << "not found in module search paths."
|
||||
<< "\nCalamares will now quit.";
|
||||
qApp->quit();
|
||||
qApp->exit( 1 );
|
||||
return;
|
||||
}
|
||||
if ( m_availableModules.value( moduleName )->isLoaded() )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user