chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bus: move ssh support into public API of libsystem-bus
[elogind.git]
/
src
/
cgroups-agent
/
cgroups-agent.c
diff --git
a/src/cgroups-agent/cgroups-agent.c
b/src/cgroups-agent/cgroups-agent.c
index 256de1f506c814f6354b03e9bcfe602ff76c4648..d8ae55a3130e044d9d6bdb33c301b089e068fe20 100644
(file)
--- a/
src/cgroups-agent/cgroups-agent.c
+++ b/
src/cgroups-agent/cgroups-agent.c
@@
-44,7
+44,7
@@
int main(int argc, char *argv[]) {
* this to avoid an activation loop when we start dbus when we
* are called when the dbus service is shut down. */
* this to avoid an activation loop when we start dbus when we
* are called when the dbus service is shut down. */
- r = bus_
connect_system
(&bus);
+ r = bus_
open_system_systemd
(&bus);
if (r < 0) {
log_warning("Failed to get D-Bus connection: %s", strerror(-r));
return EXIT_FAILURE;
if (r < 0) {
log_warning("Failed to get D-Bus connection: %s", strerror(-r));
return EXIT_FAILURE;