summaryrefslogtreecommitdiff
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 b91fe7c..0e495ff 100644
--- a/findutils/grep.c
+++ b/findutils/grep.c
@@ -163,7 +163,7 @@ extern int grep_main(int argc, char **argv)
fclose(fp);
}
}
- exit(match);
+ return(match);
}