diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/lash_unused.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/lash_unused.c b/shell/lash_unused.c index 10a9120..d57f584 100644 --- a/shell/lash_unused.c +++ b/shell/lash_unused.c @@ -566,7 +566,7 @@ static int setup_redirects(struct child_prog *prog, int squirrel[]) break; } - openfd = open3_or_warn(redir->filename, mode, 0666); + openfd = open_or_warn(redir->filename, mode); if (openfd < 0) { /* this could get lost if stderr has been redirected, but bash and ash both lose it as well (though zsh doesn't!) */ |