mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 21:52:45 +00:00 
			
		
		
		
	FileManager: Exit the application cleanly when failing to open initial directory
Co-Authored-By: Andreas Kling <kling@serenityos.org>
This commit is contained in:
		
							parent
							
								
									cc424b7b0f
								
							
						
					
					
						commit
						0d47ad7efe
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -593,7 +593,7 @@ int run_in_windowed_mode(RefPtr<Core::ConfigFile> config, String initial_locatio | |||
|         GUI::MessageBox::show(error_message, "File Manager", GUI::MessageBox::Type::Error); | ||||
| 
 | ||||
|         if (quit) | ||||
|             exit(1); | ||||
|             app.quit(1); | ||||
|     }; | ||||
| 
 | ||||
|     directory_view.on_status_message = [&](const StringView& message) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 angel
						angel