diff options
author | bugreport0 <32939607+bugreport0@users.noreply.github.com> | 2021-12-12 19:43:09 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-01-03 15:56:41 +0100 |
commit | 764f455d212dec6a8a7694308d36031259f58414 (patch) | |
tree | eb9f373aa1a052be6eaa68dea6bdb6e94acdc2e0 /Userland | |
parent | 0d78693b6aec926e5b0447d497d9d06e2a70b07e (diff) | |
download | serenity-764f455d212dec6a8a7694308d36031259f58414.zip |
Taskbar: Tighten pledged promises, remove incorrect comment
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Services/Taskbar/main.cpp | 2 |
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")); |