Code Review
/
src
/
app-framework-main.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
5c93c73
)
Try to improves the error message after exec
author
José Bollo
<jose.bollo@iot.bzh>
Fri, 3 Mar 2017 08:51:23 +0000
(09:51 +0100)
committer
José Bollo
<jose.bollo@iot.bzh>
Fri, 3 Mar 2017 09:23:26 +0000
(10:23 +0100)
Change-Id: Ibaed600a85ce1b7c3e445ceb39c780e99ca61062
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afm-launch.c
patch
|
blob
|
history
diff --git
a/src/afm-launch.c
b/src/afm-launch.c
index
9ed5966
..
d80e43b
100644
(file)
--- a/
src/afm-launch.c
+++ b/
src/afm-launch.c
@@
-771,6
+771,7
@@
static pid_t launch(
/* executes the process */
rc = execve(args[0], args, env);
+ access(args[0], X_OK);
ERROR("failed to exec master %s: %m", args[0]);
_exit(1);
return -1;