diff options
author | Daniel Bertalan <dani@danielbertalan.dev> | 2021-05-15 17:07:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-15 16:07:05 +0100 |
commit | a5801e991989ac009d6e5c8239a82a1945eae59d (patch) | |
tree | 96732de4d90b819024f6c5451da5431ca982456e /Userland/Applications | |
parent | f89e8fb71a4893911ee5125f34bd5bbb99327d33 (diff) | |
download | serenity-a5801e991989ac009d6e5c8239a82a1945eae59d.zip |
FontEditor: Add missing `unix` pledge
Without this change, FontEditor would crash due to LibDesktop opening an
IPC connection.
Fixes #7137.
Diffstat (limited to 'Userland/Applications')
-rw-r--r-- | Userland/Applications/FontEditor/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/FontEditor/main.cpp b/Userland/Applications/FontEditor/main.cpp index f5024b757b..71a851b4e1 100644 --- a/Userland/Applications/FontEditor/main.cpp +++ b/Userland/Applications/FontEditor/main.cpp @@ -27,7 +27,7 @@ int main(int argc, char** argv) auto app = GUI::Application::construct(argc, argv); - if (pledge("stdio recvfd sendfd thread rpath cpath wpath", nullptr) < 0) { + if (pledge("stdio recvfd sendfd thread rpath unix cpath wpath", nullptr) < 0) { perror("pledge"); return 1; } |