summaryrefslogtreecommitdiffstats
path: root/src/afm-launch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/afm-launch.c')
-rw-r--r--src/afm-launch.c1
1 files changed, 1 insertions, 0 deletions
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;