summaryrefslogtreecommitdiff
path: root/Userland/Games/Chess/main.cpp
diff options
context:
space:
mode:
authorLucas CHOLLET <lucas.chollet@free.fr>2022-07-24 15:28:42 +0200
committerLinus Groh <mail@linusgroh.de>2022-08-14 21:52:35 +0100
commite8115bfdb17a4792f50402ce22884910ee7de2ea (patch)
tree23a6f6fa896e61da93775933c6a9df239651cedd /Userland/Games/Chess/main.cpp
parente9e94ef3cc1836c88f263e272eaff5b693741a8f (diff)
downloadserenity-e8115bfdb17a4792f50402ce22884910ee7de2ea.zip
Base: Launch FileSystemAccessServer at session start-up
Diffstat (limited to 'Userland/Games/Chess/main.cpp')
-rw-r--r--Userland/Games/Chess/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/Chess/main.cpp b/Userland/Games/Chess/main.cpp
index 0a9ed2e49f..b1314e96c3 100644
--- a/Userland/Games/Chess/main.cpp
+++ b/Userland/Games/Chess/main.cpp
@@ -40,7 +40,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(Core::System::unveil("/bin/ChessEngine", "x"));
TRY(Core::System::unveil("/etc/passwd", "r"));
TRY(Core::System::unveil("/tmp/user/%uid/portal/launch", "rw"));
- TRY(Core::System::unveil("/tmp/portal/filesystemaccess", "rw"));
+ TRY(Core::System::unveil("/tmp/user/%uid/portal/filesystemaccess", "rw"));
TRY(Core::System::unveil(nullptr, nullptr));
auto size = Config::read_i32("Chess"sv, "Display"sv, "size"sv, 512);