aboutsummaryrefslogtreecommitdiffstats
path: root/src/unistd/exec.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/unistd/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/exec.c b/src/unistd/exec.c
index 9375baa..3558b1f 100644
--- a/src/unistd/exec.c
+++ b/src/unistd/exec.c
@@ -329,7 +329,7 @@ int execvpe(const char* file, char* const argv[], char* const envp[])
if (!*file)
return errno = ENOENT, -1;
- pathname = searchpath2(file, NULL);
+ pathname = searchpath3(file, NULL, ".");
if (pathname == NULL)
return -1;