X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafm-launch.c;h=d80e43b471f8cadded381bce59dbf31382d2fcbd;hb=d87f24e7f21e581e6b90034ca0df0459a271244a;hp=9ed596649ddb9f15d7b6dd64cdb9f805d884d388;hpb=5c93c731743492ea5585ed7383adfaaa864fb84c;p=src%2Fapp-framework-main.git diff --git a/src/afm-launch.c b/src/afm-launch.c index 9ed5966..d80e43b 100644 --- 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;