diff options
author | Brian Gianforcaro <bgianf@serenityos.org> | 2022-04-03 16:16:06 -0700 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2022-04-03 17:13:51 -0700 |
commit | af3751e4dd7301d1b51a6c4154eaf03b4daf2717 (patch) | |
tree | 3552e9d134755cba1006872e6b3eec63f7696647 /Userland/Utilities/groups.cpp | |
parent | 4d0317ae7a54614eff64e9b60ca6ec391dd978ac (diff) | |
download | serenity-af3751e4dd7301d1b51a6c4154eaf03b4daf2717.zip |
Utilities: Use default execpromises parameter to `pledge(..)`
Diffstat (limited to 'Userland/Utilities/groups.cpp')
-rw-r--r-- | Userland/Utilities/groups.cpp | 2 |
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; |