diff options
author | Malfurious <m@lfurio.us> | 2023-09-28 15:40:40 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2024-04-24 13:31:08 -0400 |
commit | f9584d0417ed8d3fc72d9dcb297b1738fef2d00c (patch) | |
tree | 9f87d23fc2c290b3fc62f820f626ccc68cf6fd6f | |
parent | 888c7ed10d7d82079c7266f4899c1c6f0c805832 (diff) | |
download | misplays-f9584d0417ed8d3fc72d9dcb297b1738fef2d00c.tar.gz misplays-f9584d0417ed8d3fc72d9dcb297b1738fef2d00c.zip |
setpgid is redundant with setsid and causes an error
Signed-off-by: Malfurious <m@lfurio.us>
-rw-r--r-- | misplays.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -29,7 +29,6 @@ static pid_t dofork(char **argv, struct console *cons) { if (pid == 0) { console_configslave(cons); close_range(STDERR_FILENO+1, ~0U, CLOSE_RANGE_UNSHARE); - setpgid(0, 0); raise(SIGSTOP); // ptrace(PTRACE_TRACEME, 0, NULL, NULL); execvp(argv[0], argv); exit(EXIT_FAILURE); |