nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
206c9d2
)
lib/exec: if `execvp` fails, just `_exit` instead of `abort()`
author
Jean Privat
<jean@pryen.org>
Fri, 2 Jan 2015 22:01:17 +0000
(17:01 -0500)
committer
Jean 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
patch
|
blob
|
history
diff --git
a/lib/standard/exec_nit.c
b/lib/standard/exec_nit.c
index
c69ba64
..
317e909
100644
(file)
--- a/
lib/standard/exec_nit.c
+++ b/
lib/standard/exec_nit.c
@@
-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 */