aboutsummaryrefslogtreecommitdiffstats
path: root/src/unistd/execat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/execat.c')
-rw-r--r--src/unistd/execat.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/unistd/execat.c b/src/unistd/execat.c
index d80d24b..5c42d79 100644
--- a/src/unistd/execat.c
+++ b/src/unistd/execat.c
@@ -450,9 +450,6 @@ int execvpeat(int dirfd, const char* file, char* const argv[], char* const envp[
if (strchr(file, '/') || !*file)
return execveat(dirfd, file, argv, envp, flags);
- if (!*file)
- return errno = ENOENT, -1;
-
path = getenv(PATH);
if (path == NULL)
{