chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
initctl: talk to systemd via the abstract private bus
[elogind.git]
/
src
/
initctl.c
diff --git
a/src/initctl.c
b/src/initctl.c
index def621d220298568fc1782fcca8b55b16e3f4e1f..b6bcaf9fc6ecee159bd6818005167b67dfd0a766 100644
(file)
--- a/
src/initctl.c
+++ b/
src/initctl.c
@@
-296,7
+296,7
@@
static int server_init(Server *s, unsigned n_sockets) {
s->n_fifos ++;
}
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;
}
log_error("Failed to get D-Bus connection: %s", error.message);
goto fail;
}