Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix vertical indentation - sinit - suckless init
git clone git://git.suckless.org/sinit
Log
Files
Refs
README
LICENSE
---
commit 7a2bb2cc6b306ca39e787175027814b23a4ac99a
parent 8a9ac0ea3c6ecddfef6e914122b3bb20cb37523c
Author: sin <[email protected]>
Date: Thu, 27 Mar 2014 10:22:28 +0000
Fix vertical indentation
Diffstat:
M sinit.c | 5 -----
1 file changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/sinit.c b/sinit.c
@@ -35,21 +35,16 @@ main(void)
if (getpid() != 1)
return EXIT_FAILURE;
-
chdir("/");
-
sigfillset(&set);
sigprocmask(SIG_BLOCK, &set, NULL);
-
spawn(rcinitcmd);
-
while (1) {
sigwait(&set, &sig);
for (i = 0; i < LEN(sigmap); i++)
if (sigmap[i].sig == sig)
sigmap[i].handler();
}
-
/* not reachable */
return EXIT_SUCCESS;
}
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.