1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Back out quieting of background message: need the pid.

This commit is contained in:
Micah Cowan 2008-04-12 23:20:28 -07:00
parent 977bb27639
commit 4f50138792
3 changed files with 2 additions and 11 deletions

View File

@ -1,10 +1,3 @@
2008-04-12 Micah Cowan <micah@cowan.name>
* mswindows.c (fake_fork_child): Don't mention that we're
backgrounding if --quiet is used.
* utils.c (fork_to_background): Likewise.
2008-04-12 Rabin Vincent <rabin@rab.in>
* mswindows.c (fake_fork_child): Don't create a logfile for

View File

@ -289,8 +289,7 @@ fake_fork (void)
goto cleanup;
}
if (!opt.quiet)
printf (_("Continuing in background, pid %lu.\n"), pi.dwProcessId);
printf (_("Continuing in background, pid %lu.\n"), pi.dwProcessId);
if (info->logfile_changed)
printf (_("Output will be written to `%s'.\n"), info->lfilename);

View File

@ -325,8 +325,7 @@ fork_to_background (void)
else if (pid != 0)
{
/* parent, no error */
if (!opt.quiet)
printf (_("Continuing in background, pid %d.\n"), (int) pid);
printf (_("Continuing in background, pid %d.\n"), (int) pid);
if (logfile_changed)
printf (_("Output will be written to `%s'.\n"), opt.lfilename);
exit (0); /* #### should we use _exit()? */