1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 07:54:58 +00:00

Utilities: Use default execpromises parameter to pledge(..)

This commit is contained in:
Brian Gianforcaro 2022-04-03 16:16:06 -07:00 committed by Brian Gianforcaro
parent 4d0317ae7a
commit af3751e4dd
18 changed files with 21 additions and 21 deletions

View file

@ -524,7 +524,7 @@ static void cat_file(FILE* file)
ErrorOr<int> serenity_main(Main::Arguments arguments)
{
TRY(Core::System::pledge("stdio rpath tty sigaction", nullptr));
TRY(Core::System::pledge("stdio rpath tty sigaction"));
char const* filename = "-";
char const* prompt = "?f%f :.(line %l)?e (END):.";
@ -557,7 +557,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
g_resized = true;
});
TRY(Core::System::pledge("stdio tty", nullptr));
TRY(Core::System::pledge("stdio tty"));
if (emulate_more) {
// Configure options that match more's behavior