Terminal: Use Config::pledge_domains()
This commit is contained in:
parent
1a0a35f4b8
commit
3114fe612c
Notes:
sideshowbarker
2024-07-18 05:17:02 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/3114fe612c9
1 changed files with 2 additions and 0 deletions
|
@ -276,6 +276,8 @@ int main(int argc, char** argv)
|
|||
return 1;
|
||||
}
|
||||
|
||||
Config::pledge_domains("Terminal");
|
||||
|
||||
const char* command_to_execute = nullptr;
|
||||
bool keep_open = false;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue