summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2022-04-03 16:15:57 -0700
committerBrian Gianforcaro <b.gianfo@gmail.com>2022-04-03 17:13:51 -0700
commit4d0317ae7a54614eff64e9b60ca6ec391dd978ac (patch)
tree87626d215bd3a81e3f8253e948e342c4d3dd6904
parent09fe9b546fe6dad4841b4e65ad48fb14ff7974d9 (diff)
downloadserenity-4d0317ae7a54614eff64e9b60ca6ec391dd978ac.zip
Shell: Use default execpromises parameter to `pledge(..)`
-rw-r--r--Userland/Shell/main.cpp2
1 files changed, 1 insertions, 1 deletions
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<int> 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;