diff options
author | thatlittlegit <personal@thatlittlegit.tk> | 2020-02-22 20:48:15 -0500 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-23 22:03:03 +0100 |
commit | ba6a290f4f818dfe99ec5edda37690d5778726d8 (patch) | |
tree | e03ba788133243c6cf675f9ae754c8808798e507 | |
parent | efc4861786361e873f14c65406c96e1ac6c90807 (diff) | |
download | serenity-ba6a290f4f818dfe99ec5edda37690d5778726d8.zip |
SystemMenu: Remove --shutdown argument when calling SystemDialog
-rw-r--r-- | Applications/SystemMenu/main.cpp | 4 |
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(); } })); |