mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:07:35 +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:
parent
f89e8fb71a
commit
a5801e9919
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ int main(int argc, char** argv)
|
||||||
|
|
||||||
auto app = GUI::Application::construct(argc, 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");
|
perror("pledge");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue