chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
execute.h: remove redefinition of Unit
[elogind.git]
/
src
/
core
/
dbus.c
diff --git
a/src/core/dbus.c
b/src/core/dbus.c
index cab7628ad0d2a335881c36fcdb1322611cf5431f..25d83a69426785e7530f78942cbbc7c14523ed33 100644
(file)
--- a/
src/core/dbus.c
+++ b/
src/core/dbus.c
@@
-938,6
+938,10
@@
static int bus_init_private(Manager *m) {
if (m->private_listen_fd >= 0)
return 0;
+ /* We don't need the private socket if we have kdbus */
+ if (m->kdbus_fd >= 0)
+ return 0;
+
if (m->running_as == SYSTEMD_SYSTEM) {
/* We want the private bus only when running as init */