aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-02-16 20:16:42 +0000
committersin <sin@2f30.org>2014-02-16 20:16:42 +0000
commit3a953eac00727baf7a5e3f3194257daa9529df37 (patch)
tree226b5dc7b1ca1ea634f00f6ef0ad066da70bb571
parent77e8aa520d8be2ebbebbcba2a08e245cfd0ae758 (diff)
No need to setsid() early
-rw-r--r--sinit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sinit.c b/sinit.c
index c696a96..16ec868 100644
--- a/sinit.c
+++ b/sinit.c
@@ -34,7 +34,6 @@ main(void)
if (getpid() != 1)
return EXIT_FAILURE;
- setsid();
chdir("/");