do not terminate silently if parsing of configuration file failed
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1308 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -193,7 +193,7 @@ bool configManager::loadConfigFile( void )
|
||||
{
|
||||
if( !dom_tree.setContent( &cfg_file ) )
|
||||
{
|
||||
return( FALSE );
|
||||
// return( FALSE );
|
||||
}
|
||||
cfg_file.close();
|
||||
}
|
||||
|
||||
@@ -309,6 +309,7 @@ int main( int argc, char * * argv )
|
||||
|
||||
if( !configManager::inst()->loadConfigFile() )
|
||||
{
|
||||
printf( "could not load config file!\n" );
|
||||
return( EXIT_FAILURE );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user