diff options
Diffstat (limited to 'src/cat.c')
-rw-r--r-- | src/cat.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -768,8 +768,5 @@ main (int argc, char **argv) if (have_read_stdin && close (STDIN_FILENO) < 0) error (EXIT_FAILURE, errno, _("closing standard input")); - if (close (STDOUT_FILENO) != 0) - error (EXIT_FAILURE, errno, _("write error")); - exit (ok ? EXIT_SUCCESS : EXIT_FAILURE); } |