summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libposixplz/execvep_internal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libposixplz/execvep_internal.c b/src/libposixplz/execvep_internal.c
index 17858f0..4395e23 100644
--- a/src/libposixplz/execvep_internal.c
+++ b/src/libposixplz/execvep_internal.c
@@ -27,7 +27,7 @@ void execvep_internal (char const *file, char const *const *argv, char const *co
if (errno != ENOENT)
{
savederrno = errno ;
- if ((errno != EACCES) && (errno != EPERM) && (errno != EISDIR)) break ;
+ if ((errno != EACCES) && (errno != EPERM) && (errno != EISDIR) && (errno != ENOTDIR)) break ;
}
}
path += split+1 ; pathlen -= split+1 ;