From 92b6e4fd767145d3bfc408fe036cdf63e09a9d89 Mon Sep 17 00:00:00 2001 From: Peter Elliott Date: Sun, 10 Oct 2021 16:04:14 -0600 Subject: [PATCH] TaskBar+Utilities: Add logout(1) command, and call it in ShutdownDialog logout kills the session that SystemServer --user was started with. --- Userland/Services/Taskbar/ShutdownDialog.cpp | 2 +- Userland/Utilities/logout.cpp | 62 ++++++++++++++++++++ 2 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 Userland/Utilities/logout.cpp diff --git a/Userland/Services/Taskbar/ShutdownDialog.cpp b/Userland/Services/Taskbar/ShutdownDialog.cpp index 35aab6c854..7d6cb8b1b7 100644 --- a/Userland/Services/Taskbar/ShutdownDialog.cpp +++ b/Userland/Services/Taskbar/ShutdownDialog.cpp @@ -26,7 +26,7 @@ struct Option { static const Vector