hush: add support for ':'; create testsuite entries
[oweals/busybox.git] / shell / lash_unused.c
index 10a9120e2603a7acbedae6b5ba600263882a7916..d57f584b200c371c27218dde4a711e46de85c097 100644 (file)
@@ -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!) */