diff options
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 9727140597..3a3ecda276 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -1418,7 +1418,7 @@ int flags; /* EW_* flags */ continue; /* Skip files that are not executable if we check for that. */ - if (!dir && (flags & EW_EXEC) && !os_can_exe((*file)[i])) + if (!dir && (flags & EW_EXEC) && !path_can_exe((*file)[i])) continue; p = alloc((unsigned)(STRLEN((*file)[i]) + 1 + dir)); |