X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2Fmswindows.c;h=5fe764e1979e93ec0d50471979cbce7c2b2849a9;hb=7783870db1f9b31f743c2392c4ecdeb1c39ca76c;hp=40f0d7626b31c43888b0f3ed6dc7bfcb884f1adc;hpb=aed143ea0c070c764fe199b3c35904c6ecf4018a;p=wget diff --git a/src/mswindows.c b/src/mswindows.c index 40f0d762..5fe764e1 100644 --- a/src/mswindows.c +++ b/src/mswindows.c @@ -157,6 +157,10 @@ fake_fork_child (void) event = info->event; info->logfile_changed = false; + if (opt.quiet && !opt.server_response) + { + log_close (); + } if (!opt.lfilename) { /* See utils:fork_to_background for explanation. */ @@ -289,7 +293,8 @@ fake_fork (void) goto cleanup; } - printf (_("Continuing in background, pid %lu.\n"), pi.dwProcessId); + if (!opt.quiet) + printf (_("Continuing in background, pid %lu.\n"), pi.dwProcessId); if (info->logfile_changed) printf (_("Output will be written to `%s'.\n"), info->lfilename);