mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Removed broken output file removal patch.
This commit is contained in:
parent
f1b726490e
commit
b15ddc5b71
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
/* No need to check for error because Wget flushes its output (and
|
||||
checks for errors) after any data arrives. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user