]> sjero.net Git - wget/blobdiff - src/main.c
Do not close stdout twice.
[wget] / src / main.c
index 94a33e75a25aae2af1ce8f3c6bdb3beb86adefb5..291fe0774bf5161ad457050cc1442c5a3bc38d3d 100644 (file)
@@ -56,7 +56,6 @@ as that of the covered work.  */
 #include "http.h"               /* for save_cookies */
 #include "ptimer.h"
 #include "warc.h"
-#include "closeout.h"
 #include <getopt.h>
 #include <getpass.h>
 #include <quote.h>
@@ -982,8 +981,6 @@ main (int argc, char **argv)
 
   i18n_initialize ();
 
-  atexit (close_stdout);
-
   /* Construct the name of the executable, without the directory part.  */
 #ifdef __VMS
   /* On VMS, lose the "dev:[dir]" prefix and the ".EXE;nnn" suffix. */