mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:07:34 +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();
|
window->show();
|
||||||
remote_process.update();
|
remote_process.update();
|
||||||
|
|
||||||
if (pledge("stdio recvfd sendfd rpath", nullptr) < 0) {
|
TRY(Core::System::pledge("stdio recvfd sendfd rpath"));
|
||||||
perror("pledge");
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
return app->exec();
|
return app->exec();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue