sinit

suckless init
git clone git://git.suckless.org/sinit
Log | Files | Refs | README | LICENSE

commit d1bb8b1a30f059724da20185d17a9565088c322a
parent e4a4117b3e895e28ff99e30526f229e55aa57d0d
Author: sin <sin@2f30.org>
Date:   Sat, 19 Apr 2014 10:25:18 +0100

setpgid(0, 0) seems redundant after setsid()

Diffstat:
Msinit.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/sinit.c b/sinit.c @@ -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);