|
@@ -159,7 +159,7 @@ public:
|
|
|
|
|
|
ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|
|
{
|
|
|
- TRY(Core::System::pledge("stdio recvfd sendfd thread rpath cpath wpath unix", nullptr));
|
|
|
+ TRY(Core::System::pledge("stdio recvfd sendfd thread rpath cpath wpath unix"));
|
|
|
|
|
|
auto app = GUI::Application::construct(arguments);
|
|
|
|
|
@@ -182,7 +182,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- TRY(Core::System::pledge("stdio recvfd sendfd thread rpath unix", nullptr));
|
|
|
+ TRY(Core::System::pledge("stdio recvfd sendfd thread rpath unix"));
|
|
|
TRY(Core::System::unveil("/tmp/portal/filesystemaccess", "rw"));
|
|
|
TRY(Core::System::unveil("/res", "r"));
|
|
|
TRY(Core::System::unveil(nullptr, nullptr));
|