From: Simon McVittie Date: Thu, 21 Jul 2016 09:25:01 +0000 (+0100) Subject: dbus-launch: redirect dbus-daemon output to syslog X-Git-Tag: dbus-1.11.6~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7c837b104503546af55da8ddd52390d9705f7ab9;p=thirdparty%2Fdbus.git dbus-launch: redirect dbus-daemon output to syslog Otherwise, it won't go anywhere at all. Signed-off-by: Simon McVittie --- diff --git a/tools/dbus-launch.c b/tools/dbus-launch.c index bf689d22d..5a0198133 100644 --- a/tools/dbus-launch.c +++ b/tools/dbus-launch.c @@ -1218,6 +1218,7 @@ main (int argc, char **argv) execl (test_daemon, test_daemon, + close_stderr ? "--syslog-only" : "--syslog", "--fork", "--print-pid", write_pid_fd_as_string, "--print-address", write_address_fd_as_string, @@ -1235,6 +1236,7 @@ main (int argc, char **argv) execl (DBUS_DAEMONDIR"/dbus-daemon", DBUS_DAEMONDIR"/dbus-daemon", + close_stderr ? "--syslog-only" : "--syslog", "--fork", "--print-pid", write_pid_fd_as_string, "--print-address", write_address_fd_as_string, @@ -1254,6 +1256,7 @@ main (int argc, char **argv) */ execlp ("dbus-daemon", "dbus-daemon", + close_stderr ? "--syslog-only" : "--syslog", "--fork", "--print-pid", write_pid_fd_as_string, "--print-address", write_address_fd_as_string,