summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
Diffstat (limited to 'setup')
-rw-r--r--setup/execute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup/execute.c b/setup/execute.c
index fb9885fa..8c4580e8 100644
--- a/setup/execute.c
+++ b/setup/execute.c
@@ -301,7 +301,7 @@ static int ExecuteCommand(const char *program, const char *arg)
argv[1] = arg;
argv[2] = NULL;
- execv(argv[0], (char **) argv);
+ execvp(argv[0], (char **) argv);
exit(-1);
}