Introduction
Introduction Statistics Contact Development Disclaimer Help
setpgid(0, 0) seems redundant after setsid() - sinit - suckless init
git clone git://git.suckless.org/sinit
Log
Files
Refs
README
LICENSE
---
commit d1bb8b1a30f059724da20185d17a9565088c322a
parent e4a4117b3e895e28ff99e30526f229e55aa57d0d
Author: sin <[email protected]>
Date: Sat, 19 Apr 2014 10:25:18 +0100
setpgid(0, 0) seems redundant after setsid()
Diffstat:
M sinit.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);
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.