diff options
Diffstat (limited to 'bin/sh/exec.c')
-rw-r--r-- | bin/sh/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/exec.c b/bin/sh/exec.c index b9d7838..cf78eb2 100644 --- a/bin/sh/exec.c +++ b/bin/sh/exec.c @@ -780,7 +780,7 @@ typecmd_impl(int argc, char **argv, int cmd) " a tracked alias for" : "", name); } else { - if (access(argv[i], X_OK) == 0) { + if (eaccess(argv[i], X_OK) == 0) { if (cmd == TYPECMD_SMALLV) out1fmt("%s\n", argv[i]); else |