aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sinit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sinit.c b/sinit.c
index 6f0f2cd..e938f3e 100644
--- a/sinit.c
+++ b/sinit.c
@@ -1,6 +1,5 @@
/* See LICENSE file for copyright and license details. */
-#include <errno.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
@@ -88,6 +87,6 @@ spawn(char *const argv[])
setpgid(0, 0);
execvp(argv[0], argv);
weprintf("sinit: execvp %s:", argv[0]);
- _exit(errno == ENOENT ? 127 : 126);
+ _exit(EXIT_FAILURE);
}
}