mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:34:57 +00:00
Utilities: Use default execpromises parameter to pledge(..)
This commit is contained in:
parent
4d0317ae7a
commit
af3751e4dd
18 changed files with 21 additions and 21 deletions
|
@ -110,7 +110,7 @@ static int run_command(Vector<char const*> const& command)
|
|||
ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||
{
|
||||
TRY(Core::System::signal(SIGINT, handle_signal));
|
||||
TRY(Core::System::pledge("stdio proc exec rpath", nullptr));
|
||||
TRY(Core::System::pledge("stdio proc exec rpath"));
|
||||
|
||||
Vector<String> files_to_watch;
|
||||
Vector<char const*> command;
|
||||
|
@ -184,7 +184,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
}
|
||||
}
|
||||
} else {
|
||||
TRY(Core::System::pledge("stdio proc exec", nullptr));
|
||||
TRY(Core::System::pledge("stdio proc exec"));
|
||||
|
||||
struct timeval interval;
|
||||
if (opt_interval <= 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue