From 4d0317ae7a54614eff64e9b60ca6ec391dd978ac Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Sun, 3 Apr 2022 16:15:57 -0700 Subject: [PATCH] Shell: Use default execpromises parameter to `pledge(..)` --- Userland/Shell/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Shell/main.cpp b/Userland/Shell/main.cpp index ffff343fed..3e8e863f4d 100644 --- a/Userland/Shell/main.cpp +++ b/Userland/Shell/main.cpp @@ -42,7 +42,7 @@ ErrorOr serenity_main(Main::Arguments arguments) }); #ifdef __serenity__ - TRY(Core::System::pledge("stdio rpath wpath cpath proc exec tty sigaction unix fattr", nullptr)); + TRY(Core::System::pledge("stdio rpath wpath cpath proc exec tty sigaction unix fattr")); #endif RefPtr<::Shell::Shell> shell;