mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 10:19:20 +00:00
TaskBar+Utilities: Add logout(1) command, and call it in ShutdownDialog
logout kills the session that SystemServer --user was started with.
This commit is contained in:
parent
7283b0b214
commit
92b6e4fd76
Notes:
sideshowbarker
2024-07-18 02:13:27 +09:00
Author: https://github.com/petelliott
Commit: 92b6e4fd76
Pull-request: https://github.com/SerenityOS/serenity/pull/10433
Issue: https://github.com/SerenityOS/serenity/issues/1181
Reviewed-by: https://github.com/alimpfard ✅
2 changed files with 63 additions and 1 deletions
|
@ -26,7 +26,7 @@ struct Option {
|
|||
static const Vector<Option> options = {
|
||||
{ "Power off computer", { "/bin/shutdown", "--now", nullptr }, true, true },
|
||||
{ "Reboot", { "/bin/reboot", nullptr }, true, false },
|
||||
{ "Log out", {}, false, false },
|
||||
{ "Log out", { "/bin/logout", nullptr }, true, false },
|
||||
};
|
||||
|
||||
Vector<char const*> ShutdownDialog::show()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue