Introduction
Introduction Statistics Contact Development Disclaimer Help
It doesn't really matter what we return - just signal failure - sinit - suckles…
git clone git://git.suckless.org/sinit
Log
Files
Refs
README
LICENSE
---
commit 31dbd779dcbd5b7c2cd96a008f1f93c035e0a4f7
parent 189d686ef4415fd611de37fdfec5c14550ec860c
Author: sin <[email protected]>
Date: Mon, 10 Feb 2014 20:19:22 +0000
It doesn't really matter what we return - just signal failure
Diffstat:
M 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);
}
}
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.