aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-03-27 10:22:28 +0000
committersin <sin@2f30.org>2014-03-27 10:22:28 +0000
commit7a2bb2cc6b306ca39e787175027814b23a4ac99a (patch)
tree0a43bbaf109801d691273ceb5baa18be5411c8bd
parent8a9ac0ea3c6ecddfef6e914122b3bb20cb37523c (diff)
Fix vertical indentation
-rw-r--r--sinit.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sinit.c b/sinit.c
index b01497a..34e379b 100644
--- 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;
}