sinit

suckless init
git clone git://git.2f30.org/sinit.git
Log | Files | Refs | README | LICENSE

commit 31dbd779dcbd5b7c2cd96a008f1f93c035e0a4f7
parent 189d686ef4415fd611de37fdfec5c14550ec860c
Author: sin <sin@2f30.org>
Date:   Mon Feb 10 20:19:22 +0000

It doesn't really matter what we return - just signal failure

Diffstat:
sinit.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git 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); } }