summaryrefslogtreecommitdiff
path: root/Userland/Utilities/groups.cpp
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2022-04-03 16:16:06 -0700
committerBrian Gianforcaro <b.gianfo@gmail.com>2022-04-03 17:13:51 -0700
commitaf3751e4dd7301d1b51a6c4154eaf03b4daf2717 (patch)
tree3552e9d134755cba1006872e6b3eec63f7696647 /Userland/Utilities/groups.cpp
parent4d0317ae7a54614eff64e9b60ca6ec391dd978ac (diff)
downloadserenity-af3751e4dd7301d1b51a6c4154eaf03b4daf2717.zip
Utilities: Use default execpromises parameter to `pledge(..)`
Diffstat (limited to 'Userland/Utilities/groups.cpp')
-rw-r--r--Userland/Utilities/groups.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/groups.cpp b/Userland/Utilities/groups.cpp
index f67041a694..caa9c6a55f 100644
--- a/Userland/Utilities/groups.cpp
+++ b/Userland/Utilities/groups.cpp
@@ -33,7 +33,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(Core::System::unveil("/etc/passwd", "r"));
TRY(Core::System::unveil("/etc/group", "r"));
TRY(Core::System::unveil(nullptr, nullptr));
- TRY(Core::System::pledge("stdio rpath", nullptr));
+ TRY(Core::System::pledge("stdio rpath"));
Vector<char const*> usernames;