From 4f50138792dc03e60db6ab63e40c32c722c02c9a Mon Sep 17 00:00:00 2001 From: Micah Cowan Date: Sat, 12 Apr 2008 23:20:28 -0700 Subject: [PATCH] Back out quieting of background message: need the pid. --- src/ChangeLog | 7 ------- src/mswindows.c | 3 +-- src/utils.c | 3 +-- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 2a54ffe7..73476558 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,10 +1,3 @@ -2008-04-12 Micah Cowan - - * 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 * mswindows.c (fake_fork_child): Don't create a logfile for diff --git a/src/mswindows.c b/src/mswindows.c index 9d5141f1..2a146963 100644 --- a/src/mswindows.c +++ b/src/mswindows.c @@ -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); diff --git a/src/utils.c b/src/utils.c index b5efbaa0..a8c53038 100644 --- a/src/utils.c +++ b/src/utils.c @@ -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()? */ -- 2.39.2