diff options
author | Guillem Jover <guillem@debian.org> | 2018-10-11 22:00:36 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2019-01-15 04:49:01 +0100 |
commit | 4b4f8ed22ad6e5b90a52593715897910d2bdfb85 (patch) | |
tree | 616b189e8e63860efb7c103efb40abe9f20fc434 /utils/start-stop-daemon.c | |
parent | bc9736f6feae7625cc5ec063ea1b27d51a5f9317 (diff) | |
download | dpkg-4b4f8ed22ad6e5b90a52593715897910d2bdfb85.tar.gz |
s-s-d: Print complete verbose lines
Do not split the lines in multiple stages, as that messes up the output
in case we want to print something in-between, and makes the standard
line buffered output for stdout not flush the output which gets
duplicated on the child.
Diffstat (limited to 'utils/start-stop-daemon.c')
-rw-r--r-- | utils/start-stop-daemon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/start-stop-daemon.c b/utils/start-stop-daemon.c index d4d30fbbb..a5b00f5e0 100644 --- a/utils/start-stop-daemon.c +++ b/utils/start-stop-daemon.c @@ -515,7 +515,7 @@ daemonize(void) sigset_t oldmask; if (quietmode < 0) - printf("Detaching to start %s...", startas); + printf("Detaching to start %s...\n", startas); /* Block SIGCHLD to allow waiting for the child process while it is * performing actions, such as creating a pidfile. */ @@ -560,7 +560,7 @@ daemonize(void) fatal("cannot restore signal mask"); if (quietmode < 0) - printf("done.\n"); + printf("Detaching complete...\n"); } static void |