Introduction
Introduction Statistics Contact Development Disclaimer Help
Create a new session as quickly as possible - sinit - suckless init
git clone git://git.suckless.org/sinit
Log
Files
Refs
README
LICENSE
---
commit eae5382f6ac183086944ff964eeaa95fd7dbe936
parent 0ffbe5d2badae771a94457573c3cf0cb382f1ad4
Author: sin <[email protected]>
Date: Thu, 6 Feb 2014 17:00:28 +0000
Create a new session as quickly as possible
Diffstat:
M sinit.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
diff --git a/sinit.c b/sinit.c
@@ -38,6 +38,7 @@ main(void)
if (getpid() != 1)
return EXIT_FAILURE;
+ setsid();
sigfillset(&set);
sigprocmask(SIG_BLOCK, &set, 0);
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.