aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/wget.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/networking/wget.c b/networking/wget.c
index 6c9a51211..ad2bfa4b5 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -941,5 +941,8 @@ int wget_main(int argc UNUSED_PARAM, char **argv)
941 while (*argv) 941 while (*argv)
942 exitcode |= download_one_url(*argv++); 942 exitcode |= download_one_url(*argv++);
943 943
944 if (G.output_fd >= 0)
945 xclose(G.output_fd);
946
944 return exitcode; 947 return exitcode;
945} 948}