summaryrefslogtreecommitdiff
path: root/src/grep.c
diff options
context:
space:
mode:
authorUlrich Eckhardt <ulrich.eckhardt@base-42.de>2022-02-14 22:30:41 +0100
committerPaul Eggert <eggert@cs.ucla.edu>2022-02-15 16:59:38 -0800
commitc128fa57c6cb8d7526b38dffa25b435dca396b7e (patch)
treee146bdaed23dbe7578069bbb4880e5c7e6d38154 /src/grep.c
parent5c3c427988be22d4d213379624db290ec849a13f (diff)
downloadgrep-c128fa57c6cb8d7526b38dffa25b435dca396b7e.tar.gz
grep: Remove comment
The comment was introduced in 500f07fee50ab16a70fe2946b85318020c7f4017 and relates to absent cleanup code at the end of main(), not the code following it. It relates to fallible flushing of stdout and related error handling, but even then it doesn't explain much. Copyright-paperwork-exempt: yes
Diffstat (limited to 'src/grep.c')
-rw-r--r--src/grep.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/grep.c b/src/grep.c
index 6ff852ad..9c933e46 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -3008,6 +3008,5 @@ main (int argc, char **argv)
status &= grep_command_line_arg (*files++);
while (*files != NULL);
- /* We register via atexit to test stdout. */
return errseen ? EXIT_TROUBLE : status;
}