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
commit a5801e9919
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: sideshowbarker 2024-07-18 18:06:19 +09:00

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