aboutsummaryrefslogtreecommitdiff
path: root/findutils/grep.c
diff options
context:
space:
mode:
Diffstat (limited to 'findutils/grep.c')
-rw-r--r--findutils/grep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/findutils/grep.c b/findutils/grep.c
index b7964d1eb..b76a17a41 100644
--- a/findutils/grep.c
+++ b/findutils/grep.c
@@ -447,7 +447,7 @@ int grep_main(int argc, char **argv)
447 } 447 }
448 } 448 }
449 matched += grep_file(file); 449 matched += grep_file(file);
450 bb_fclose_nonstdin(file); 450 fclose_if_not_stdin(file);
451 grep_done: 451 grep_done:
452 if (matched < 0) { 452 if (matched < 0) {
453 /* we found a match but were told to be quiet, stop here and 453 /* we found a match but were told to be quiet, stop here and