diff options
author | sin <sin@2f30.org> | 2014-04-19 10:25:18 +0100 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-04-19 10:28:09 +0100 |
commit | d1bb8b1a30f059724da20185d17a9565088c322a (patch) | |
tree | 8949be43ea234867ac309f361cedc4cfe71cc34e | |
parent | e4a4117b3e895e28ff99e30526f229e55aa57d0d (diff) |
setpgid(0, 0) seems redundant after setsid()
-rw-r--r-- | sinit.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -79,7 +79,6 @@ spawn(char *const argv[]) } else if (pid == 0) { sigprocmask(SIG_UNBLOCK, &set, NULL); setsid(); - setpgid(0, 0); execvp(argv[0], argv); perror("execvp"); _exit(EXIT_FAILURE); |