projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hush_test: ignore generated files
[oweals/busybox.git]
/
shell
/
bbsh.c
diff --git
a/shell/bbsh.c
b/shell/bbsh.c
index 3be64eec7a9b989ade0d9b40a98b920c133c7284..897c0227cce785504a9dc6076eabab41d3356fad 100644
(file)
--- a/
shell/bbsh.c
+++ b/
shell/bbsh.c
@@
-206,7
+206,7
@@
int bbsh_main(int argc, char **argv)
getopt32(argv, "c:", &command);
- f = argv[optind] ? xfopen
(argv[optind],"r"
) : NULL;
+ f = argv[optind] ? xfopen
_for_read(argv[optind]
) : NULL;
if (command) handle(command);
else {
unsigned cmdlen=0;