1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:57:44 +00:00

FontEditor: Add missing unix pledge

Without this change, FontEditor would crash due to LibDesktop opening an
IPC connection.

Fixes #7137.
This commit is contained in:
Daniel Bertalan 2021-05-15 17:07:05 +02:00 committed by GitHub
parent f89e8fb71a
commit a5801e9919
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}