summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorbugreport0 <32939607+bugreport0@users.noreply.github.com>2021-12-12 19:43:09 +0100
committerAndreas Kling <kling@serenityos.org>2022-01-03 15:56:41 +0100
commit764f455d212dec6a8a7694308d36031259f58414 (patch)
treeeb9f373aa1a052be6eaa68dea6bdb6e94acdc2e0 /Userland
parent0d78693b6aec926e5b0447d497d9d06e2a70b07e (diff)
downloadserenity-764f455d212dec6a8a7694308d36031259f58414.zip
Taskbar: Tighten pledged promises, remove incorrect comment
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Services/Taskbar/main.cpp2
1 files changed, 1 insertions, 1 deletions
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<int> 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"));