diff options
Diffstat (limited to 'fs/exec.c')
| -rw-r--r-- | fs/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/exec.c b/fs/exec.c index bd153a4e55ad..3c98af10b3bc 100644 --- a/fs/exec.c +++ b/fs/exec.c @@ -347,7 +347,7 @@ struct file *open_exec(const char *name) struct file *file; int err = 0; - if (path_init(name, LOOKUP_FOLLOW|LOOKUP_POSITIVE, &nd)) + if (path_init(name, LOOKUP_FOLLOW, &nd)) err = path_walk(name, &nd); file = ERR_PTR(err); if (!err) { |
