From a11c065e82b3a186e8146ecaabb1399eabd7d80c Mon Sep 17 00:00:00 2001 From: Brendan Coles Date: Thu, 18 Feb 2021 09:15:10 +0000 Subject: [PATCH] Chess: pledge thread `thread` is required by the file browse dialog when importing or exporting PGN files. --- Userland/Games/Chess/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Games/Chess/main.cpp b/Userland/Games/Chess/main.cpp index d519429d37..7f01004eaa 100644 --- a/Userland/Games/Chess/main.cpp +++ b/Userland/Games/Chess/main.cpp @@ -47,7 +47,7 @@ int main(int argc, char** argv) RefPtr config = Core::ConfigFile::get_for_app("Chess"); - if (pledge("stdio rpath accept wpath cpath recvfd sendfd proc exec", nullptr) < 0) { + if (pledge("stdio rpath accept wpath cpath recvfd sendfd thread proc exec", nullptr) < 0) { perror("pledge"); return 1; }