From cf4fa936be63a8f5931886142daca54b99293a52 Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Sat, 27 Nov 2021 14:26:34 -0800 Subject: Everywhere: Use default execpromises argument for Core::System::pledge --- Userland/Services/NotificationServer/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Userland/Services/NotificationServer') diff --git a/Userland/Services/NotificationServer/main.cpp b/Userland/Services/NotificationServer/main.cpp index 210b2c0ce0..8239d1e808 100644 --- a/Userland/Services/NotificationServer/main.cpp +++ b/Userland/Services/NotificationServer/main.cpp @@ -13,7 +13,7 @@ ErrorOr serenity_main(Main::Arguments arguments) { - TRY(Core::System::pledge("stdio recvfd sendfd accept rpath unix", nullptr)); + TRY(Core::System::pledge("stdio recvfd sendfd accept rpath unix")); auto app = TRY(GUI::Application::try_create(arguments)); auto server = TRY(Core::LocalServer::try_create()); @@ -33,7 +33,7 @@ ErrorOr serenity_main(Main::Arguments arguments) TRY(Core::System::unveil("/res", "r")); TRY(Core::System::unveil(nullptr, nullptr)); - TRY(Core::System::pledge("stdio recvfd sendfd accept rpath", nullptr)); + TRY(Core::System::pledge("stdio recvfd sendfd accept rpath")); return app->exec(); } -- cgit v1.2.3