summaryrefslogtreecommitdiffstats
path: root/bus
diff options
context:
space:
mode:
Diffstat (limited to 'bus')
-rw-r--r--bus/bus.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/bus/bus.c b/bus/bus.c
index 043f2e1e..b34e635c 100644
--- a/bus/bus.c
+++ b/bus/bus.c
@@ -663,7 +663,9 @@ bus_context_new (const DBusString *config_file,
if (context->pidfile)
_dbus_string_init_const (&u, context->pidfile);
- if (!_dbus_become_daemon (context->pidfile ? &u : NULL, error))
+ if (!_dbus_become_daemon (context->pidfile ? &u : NULL,
+ print_pid_fd,
+ error))
{
_DBUS_ASSERT_ERROR_IS_SET (error);
goto failed;