projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hush: add support for ':'; create testsuite entries
[oweals/busybox.git]
/
shell
/
lash_unused.c
diff --git
a/shell/lash_unused.c
b/shell/lash_unused.c
index 10a9120e2603a7acbedae6b5ba600263882a7916..d57f584b200c371c27218dde4a711e46de85c097 100644
(file)
--- 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 = open
3_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!) */