diff options
author | sin <sin@2f30.org> | 2014-02-10 20:19:22 +0000 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-02-10 20:19:22 +0000 |
commit | 31dbd779dcbd5b7c2cd96a008f1f93c035e0a4f7 (patch) | |
tree | 34021b6bd96b171fc45b750fdb3c4d1bbe0943ec | |
parent | 189d686ef4415fd611de37fdfec5c14550ec860c (diff) |
It doesn't really matter what we return - just signal failure
-rw-r--r-- | sinit.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); } } |