No need to setsid() early - sinit - suckless init
HTML git clone git://git.suckless.org/sinit
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 3a953eac00727baf7a5e3f3194257daa9529df37
DIR parent 77e8aa520d8be2ebbebbcba2a08e245cfd0ae758
HTML Author: sin <sin@2f30.org>
Date: Sun, 16 Feb 2014 20:16:42 +0000
No need to setsid() early
Diffstat:
M sinit.c | 1 -
1 file changed, 0 insertions(+), 1 deletion(-)
---
DIR diff --git a/sinit.c b/sinit.c
@@ -34,7 +34,6 @@ main(void)
if (getpid() != 1)
return EXIT_FAILURE;
- setsid();
chdir("/");