mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:14:58 +00:00
kill: Replace LibC kill call with LibCore equivalent
This commit is contained in:
parent
200a4a00dd
commit
c1b3b4d6d8
1 changed files with 1 additions and 3 deletions
|
@ -70,8 +70,6 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
}
|
||||
pid_t pid = pid_opt.value();
|
||||
|
||||
int rc = kill(pid, signum);
|
||||
if (rc < 0)
|
||||
perror("kill");
|
||||
TRY(Core::System::kill(pid, signum));
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue