diff options
author | Anton Kling <anton@kling.gg> | 2024-07-01 16:21:43 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-07-01 16:21:43 +0200 |
commit | 326cedcca7050ec0b143ff3d2ad94839f77ab22e (patch) | |
tree | 0fbcfdc18b0da5ba2cccb3950edf1ef906e9af5b /userland/minibox | |
parent | ab09d1f56f5881eb5d2234038d9146f74deecc10 (diff) |
LibC: Change how kill() works
Diffstat (limited to 'userland/minibox')
-rw-r--r-- | userland/minibox/utilities/kill.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/userland/minibox/utilities/kill.c b/userland/minibox/utilities/kill.c index 8cc6877..665320e 100644 --- a/userland/minibox/utilities/kill.c +++ b/userland/minibox/utilities/kill.c @@ -5,8 +5,6 @@ #include <stdio.h> int kill_main(int argc, char **argv) { - int fd = open_process(4); - kill(fd, SIGTERM); - close(fd); + kill(4, SIGTERM); return 0; } |