]> sjero.net Git - wget/blobdiff - src/main.c
[svn] Don't print download summary if nothing has been downloaded.
[wget] / src / main.c
index 6107a51dc599645c74906592a35c8a5732051eb4..0fc5b3d70b17412b34981e7e5c07efb7b051eaa4 100644 (file)
@@ -968,9 +968,11 @@ Can't timestamp and not clobber old files at the same time.\n"));
                   opt.input_filename);
     }
   /* Print the downloaded sum.  */
-  if (opt.recursive || opt.page_requisites
-      || nurl > 1
-      || (opt.input_filename && total_downloaded_bytes != 0))
+  if ((opt.recursive || opt.page_requisites
+       || nurl > 1
+       || (opt.input_filename && total_downloaded_bytes != 0))
+      &&
+      total_downloaded_bytes != 0)
     {
       logprintf (LOG_NOTQUIET,
                 _("FINISHED --%s--\nDownloaded: %d files, %s in %s (%s)\n"),