summaryrefslogtreecommitdiff
path: root/Userland/Utilities/js.cpp
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-11-27 14:26:34 -0800
committerAndreas Kling <kling@serenityos.org>2021-11-28 08:04:57 +0100
commitcf4fa936be63a8f5931886142daca54b99293a52 (patch)
treefcb69966e7fd2a16d30ed2e40e85d2245f1dd409 /Userland/Utilities/js.cpp
parent44ffe3e5bb2659fcd4bcd65adaf5fb6e855a9c4f (diff)
downloadserenity-cf4fa936be63a8f5931886142daca54b99293a52.zip
Everywhere: Use default execpromises argument for Core::System::pledge
Diffstat (limited to 'Userland/Utilities/js.cpp')
-rw-r--r--Userland/Utilities/js.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/js.cpp b/Userland/Utilities/js.cpp
index 22bb3675c6..26daa17e75 100644
--- a/Userland/Utilities/js.cpp
+++ b/Userland/Utilities/js.cpp
@@ -1158,7 +1158,7 @@ public:
ErrorOr<int> serenity_main(Main::Arguments arguments)
{
#ifdef __serenity__
- TRY(Core::System::pledge("stdio rpath wpath cpath tty sigaction", nullptr));
+ TRY(Core::System::pledge("stdio rpath wpath cpath tty sigaction"));
#endif
bool gc_on_every_allocation = false;