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:
parent
977bb27639
commit
4f50138792
@ -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>
|
2008-04-12 Rabin Vincent <rabin@rab.in>
|
||||||
|
|
||||||
* mswindows.c (fake_fork_child): Don't create a logfile for
|
* mswindows.c (fake_fork_child): Don't create a logfile for
|
||||||
|
@ -289,8 +289,7 @@ fake_fork (void)
|
|||||||
goto cleanup;
|
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)
|
if (info->logfile_changed)
|
||||||
printf (_("Output will be written to `%s'.\n"), info->lfilename);
|
printf (_("Output will be written to `%s'.\n"), info->lfilename);
|
||||||
|
|
||||||
|
@ -325,8 +325,7 @@ fork_to_background (void)
|
|||||||
else if (pid != 0)
|
else if (pid != 0)
|
||||||
{
|
{
|
||||||
/* parent, no error */
|
/* 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)
|
if (logfile_changed)
|
||||||
printf (_("Output will be written to `%s'.\n"), opt.lfilename);
|
printf (_("Output will be written to `%s'.\n"), opt.lfilename);
|
||||||
exit (0); /* #### should we use _exit()? */
|
exit (0); /* #### should we use _exit()? */
|
||||||
|
Loading…
Reference in New Issue
Block a user