diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-12-26 03:08:15 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-12-26 03:08:15 +0100 |
commit | f2769777c8e8ad32b0b19cd540d2f742bda4457f (patch) | |
tree | ce52d80144163a3f8271b4d38e4a187fe06d8bd9 /src/core | |
parent | 442e2def7938435481eed34cd7331e34ebc8d9e0 (diff) |
bus: make system bus kdbus node world-accessible
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/manager.c b/src/core/manager.c index c26dcaa999..6b33c18283 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -542,7 +542,7 @@ static int manager_setup_kdbus(Manager *m) { if (m->running_as == SYSTEMD_USER && getenv("DBUS_SESSION_BUS_ADDRESS")) return 0; - m->kdbus_fd = bus_kernel_create_bus(m->running_as == SYSTEMD_SYSTEM ? "system" : "user", &p); + m->kdbus_fd = bus_kernel_create_bus(m->running_as == SYSTEMD_SYSTEM ? "system" : "user", m->running_as == SYSTEMD_SYSTEM, &p); if (m->kdbus_fd < 0) { log_debug("Failed to set up kdbus: %s", strerror(-m->kdbus_fd)); return m->kdbus_fd; |