lib/exec: if `execvp` fails, just `_exit` instead of `abort()`
authorJean Privat <jean@pryen.org>
Fri, 2 Jan 2015 22:01:17 +0000 (17:01 -0500)
committerJean Privat <jean@pryen.org>
Fri, 2 Jan 2015 22:01:17 +0000 (17:01 -0500)
Signed-off-by: Jean Privat <jean@pryen.org>

lib/standard/exec_nit.c

index c69ba64..317e909 100644 (file)
@@ -82,7 +82,7 @@ se_exec_data_t* exec_Process_Process_basic_exec_execute_4(void *s, char *prog, c
 
                /* calls */
                execvp(prog, arg);
-               abort();
+               _exit(127);
        }
        else if (id > 0)
                { /* father */