summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthatlittlegit <personal@thatlittlegit.tk>2020-02-22 20:48:15 -0500
committerAndreas Kling <kling@serenityos.org>2020-02-23 22:03:03 +0100
commitba6a290f4f818dfe99ec5edda37690d5778726d8 (patch)
treee03ba788133243c6cf675f9ae754c8808798e507
parentefc4861786361e873f14c65406c96e1ac6c90807 (diff)
downloadserenity-ba6a290f4f818dfe99ec5edda37690d5778726d8.zip
SystemMenu: Remove --shutdown argument when calling SystemDialog
-rw-r--r--Applications/SystemMenu/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Applications/SystemMenu/main.cpp b/Applications/SystemMenu/main.cpp
index 3197884984..cb2bd7201e 100644
--- a/Applications/SystemMenu/main.cpp
+++ b/Applications/SystemMenu/main.cpp
@@ -192,9 +192,9 @@ NonnullRefPtr<GUI::Menu> build_system_menu()
}
}));
system_menu->add_separator();
- system_menu->add_action(GUI::Action::create("Shutdown...", [](auto&) {
+ system_menu->add_action(GUI::Action::create("Exit...", [](auto&) {
if (fork() == 0) {
- execl("/bin/SystemDialog", "/bin/SystemDialog", "--shutdown", nullptr);
+ execl("/bin/SystemDialog", "/bin/SystemDialog", nullptr);
ASSERT_NOT_REACHED();
}
}));