summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Applications/FileManager/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/FileManager/main.cpp b/Applications/FileManager/main.cpp
index 0fa3dfd584..9c3beb1d77 100644
--- a/Applications/FileManager/main.cpp
+++ b/Applications/FileManager/main.cpp
@@ -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) {