From 764f455d212dec6a8a7694308d36031259f58414 Mon Sep 17 00:00:00 2001 From: bugreport0 <32939607+bugreport0@users.noreply.github.com> Date: Sun, 12 Dec 2021 19:43:09 +0100 Subject: [PATCH] Taskbar: Tighten pledged promises, remove incorrect comment --- Userland/Services/Taskbar/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Services/Taskbar/main.cpp b/Userland/Services/Taskbar/main.cpp index ed5135b7d3..b6fee58a2a 100644 --- a/Userland/Services/Taskbar/main.cpp +++ b/Userland/Services/Taskbar/main.cpp @@ -46,7 +46,7 @@ ErrorOr serenity_main(Main::Arguments arguments) ; }); - // We need to obtain the WM connection here as well before the pledge shortening. + TRY(Core::System::pledge("stdio recvfd sendfd proc exec rpath unix")); GUI::WindowManagerServerConnection::the(); TRY(Core::System::pledge("stdio recvfd sendfd proc exec rpath"));