mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:17:45 +00:00
Inspector: Update pledge() idiom
This commit is contained in:
parent
1a2ff38609
commit
595ebe215b
1 changed files with 1 additions and 5 deletions
|
@ -146,10 +146,6 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
window->show();
|
||||
remote_process.update();
|
||||
|
||||
if (pledge("stdio recvfd sendfd rpath", nullptr) < 0) {
|
||||
perror("pledge");
|
||||
return 1;
|
||||
}
|
||||
|
||||
TRY(Core::System::pledge("stdio recvfd sendfd rpath"));
|
||||
return app->exec();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue