aboutsummaryrefslogtreecommitdiff
path: root/findutils
diff options
context:
space:
mode:
Diffstat (limited to 'findutils')
-rw-r--r--findutils/grep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/findutils/grep.c b/findutils/grep.c
index 8600d72fa..0b72812f1 100644
--- a/findutils/grep.c
+++ b/findutils/grep.c
@@ -470,7 +470,7 @@ static int grep_file(FILE *file)
470 * "exit immediately with zero status 470 * "exit immediately with zero status
471 * if any match is found, 471 * if any match is found,
472 * even if errors were detected" */ 472 * even if errors were detected" */
473 exit(EXIT_SUCCESS); 473 exit_SUCCESS();
474 } 474 }
475 /* -l "print filenames with matches": stop after the first match */ 475 /* -l "print filenames with matches": stop after the first match */
476 if (option_mask32 & OPT_l) { 476 if (option_mask32 & OPT_l) {