summaryrefslogtreecommitdiffstats
path: root/src/initctl.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-19 16:56:26 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-19 16:56:26 +0200
commitf5a3628cc7aa132bb0ee6be48f3cedc2d8838046 (patch)
treea4891c265a0a25add36a7267d4847a1302059b80 /src/initctl.c
parentunit: get rid of various unnecessary casts (diff)
downloadsystemd-f5a3628cc7aa132bb0ee6be48f3cedc2d8838046.tar.xz
systemd-f5a3628cc7aa132bb0ee6be48f3cedc2d8838046.zip
initctl: talk to systemd via the abstract private bus
Diffstat (limited to 'src/initctl.c')
-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;
}