From 31dbd779dcbd5b7c2cd96a008f1f93c035e0a4f7 Mon Sep 17 00:00:00 2001 From: sin Date: Mon, 10 Feb 2014 20:19:22 +0000 Subject: It doesn't really matter what we return - just signal failure --- sinit.c | 3 +-- 1 file changed, 1 insertion(+), 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 #include #include #include @@ -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); } } -- cgit v1.2.3-70-g09d2