Skip to content

Commit

Permalink
FontEditor: Add missing unix pledge
Browse files Browse the repository at this point in the history
Without this change, FontEditor would crash due to LibDesktop opening an
IPC connection.

Fixes SerenityOS#7137.
  • Loading branch information
BertalanD committed May 15, 2021
1 parent f89e8fb commit a5801e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Userland/Applications/FontEditor/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit a5801e9

Please sign in to comment.