diff options
author | Lucas CHOLLET <lucas.chollet@free.fr> | 2022-08-07 18:19:42 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-08-14 21:52:35 +0100 |
commit | bee5bcda7324279f17409d49aca715c518ac763e (patch) | |
tree | 23b6be21f297f61959f7d817beaec9c443610005 /Userland/Applications/Help/main.cpp | |
parent | 26e85dabb05099caa8bca0b5dd240b212d2356ec (diff) | |
download | serenity-bee5bcda7324279f17409d49aca715c518ac763e.zip |
Everywhere: Replace hardcoded anon's uid in unveil path with `%uid`
Diffstat (limited to 'Userland/Applications/Help/main.cpp')
-rw-r--r-- | Userland/Applications/Help/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Help/main.cpp b/Userland/Applications/Help/main.cpp index 654ef0fee0..a07460aebd 100644 --- a/Userland/Applications/Help/main.cpp +++ b/Userland/Applications/Help/main.cpp @@ -34,7 +34,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) TRY(Core::System::unveil("/res", "r")); TRY(Core::System::unveil("/usr/share/man", "r")); TRY(Core::System::unveil("/tmp/portal/filesystemaccess", "rw")); - TRY(Core::System::unveil("/tmp/user/100/portal/launch", "rw")); + TRY(Core::System::unveil("/tmp/user/%uid/portal/launch", "rw")); TRY(Core::System::unveil("/tmp/portal/webcontent", "rw")); TRY(Core::System::unveil(nullptr, nullptr)); |