aboutsummaryrefslogtreecommitdiff
path: root/shell/lash_unused.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/lash_unused.c')
-rw-r--r--shell/lash_unused.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/lash_unused.c b/shell/lash_unused.c
index 10a9120e2..d57f584b2 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[])
566 break; 566 break;
567 } 567 }
568 568
569 openfd = open3_or_warn(redir->filename, mode, 0666); 569 openfd = open_or_warn(redir->filename, mode);
570 if (openfd < 0) { 570 if (openfd < 0) {
571 /* this could get lost if stderr has been redirected, but 571 /* this could get lost if stderr has been redirected, but
572 bash and ash both lose it as well (though zsh doesn't!) */ 572 bash and ash both lose it as well (though zsh doesn't!) */