]> sjero.net Git - wget/commitdiff
[svn] Removed broken output file removal patch.
authormtortonesi <devnull@localhost>
Mon, 30 Jan 2006 08:46:16 +0000 (00:46 -0800)
committermtortonesi <devnull@localhost>
Mon, 30 Jan 2006 08:46:16 +0000 (00:46 -0800)
src/init.c

index 26b52a5793b1bdf6e244a0e0fc5b3068b428471f..820f84dbd31165868ee9ab1c7be1c601ed7c98b3 100644 (file)
@@ -1427,15 +1427,7 @@ cleanup (void)
   /* Free external resources, close files, etc. */
 
   if (output_stream)
-    {
-      fclose (output_stream);
-      if (opt.output_document 
-          && !(total_downloaded_bytes > 0))
-        {
-          unlink (opt.output_document);
-        }
-    }
-  
+    fclose (output_stream);
   /* No need to check for error because Wget flushes its output (and
      checks for errors) after any data arrives.  */