summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/initctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/initctl.c b/src/initctl.c
index def621d220..b6bcaf9fc6 100644
--- a/src/initctl.c
+++ b/src/initctl.c
@@ -296,7 +296,7 @@ static int server_init(Server *s, unsigned n_sockets) {
s->n_fifos ++;
}
- if (!(s->bus = dbus_bus_get(DBUS_BUS_SYSTEM, &error))) {
+ if (!(s->bus = dbus_connection_open("unix:abstract=/org/freedesktop/systemd1/private", &error))) {
log_error("Failed to get D-Bus connection: %s", error.message);
goto fail;
}