From: Paul Eggert Date: Wed, 14 Dec 2005 18:09:04 +0000 (+0000) Subject: Undo previous change. X-Git-Tag: v6.0~1128 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dcc1bc175949754fe5b2296445446bd127f57597;p=thirdparty%2Fcoreutils.git Undo previous change. --- diff --git a/src/cat.c b/src/cat.c index 307a516449..b08e91e7d3 100644 --- a/src/cat.c +++ b/src/cat.c @@ -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); }