commit ce52673f5d443ab7f9b63fee013e82d02d71fd9f parent 561e9b0e65d605404da4506f18e630143ed5d6df Author: sin <sin@2f30.org> Date: Thu, 6 Feb 2014 12:18:01 +0000 Inform the user when execvp() fails Diffstat:
M | sinit.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/sinit.c b/sinit.c @@ -111,6 +111,7 @@ spawn(const Arg *arg) setsid(); setpgid(0, 0); execvp(p, arg->v); + weprintf("sinit: execvp %s:", p); _exit(errno == ENOENT ? 127 : 126); } }