diff options
author | Rob Landley <rob@landley.net> | 2015-06-06 21:34:02 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-06-06 21:34:02 -0500 |
commit | 94983f2dddde86e8f121abe97a28aa1f6c87a3db (patch) | |
tree | cf7f7a3ba09c7fc71b98a0114e11deefd322da5a /toys | |
parent | 204bd961aec4a5787db109cd3ad9447841cb6922 (diff) | |
download | toybox-94983f2dddde86e8f121abe97a28aa1f6c87a3db.tar.gz |
Last grep commit broke non -r use of grep. Oops.
Diffstat (limited to 'toys')
-rw-r--r-- | toys/posix/grep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/grep.c b/toys/posix/grep.c index 6e383efc..ffc920c1 100644 --- a/toys/posix/grep.c +++ b/toys/posix/grep.c @@ -298,5 +298,5 @@ void grep_main(void) if (!strcmp(*ss, "-")) do_grep(0, *ss); else dirtree_read(*ss, do_grep_r); } - } else loopfiles_rw(toys.optargs, O_RDONLY, 0, 1, do_grep); + } else loopfiles_rw(ss, O_RDONLY, 0, 1, do_grep); } |