chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
build-sys: prefer using ln --relative -s where appropriate
[elogind.git]
/
src
/
core
/
unit.c
diff --git
a/src/core/unit.c
b/src/core/unit.c
index 05470739d289a20e7023c0f28fa93d9cd28cbba8..1c0b0c72ace24ccaa506f2e81a6a6a1f1a660f17 100644
(file)
--- a/
src/core/unit.c
+++ b/
src/core/unit.c
@@
-328,7
+328,8
@@
void unit_add_to_dbus_queue(Unit *u) {
return;
/* Shortcut things if nobody cares */
- if (set_isempty(u->manager->subscribed)) {
+ if (sd_bus_track_count(u->manager->subscribed) <= 0 &&
+ set_isempty(u->manager->private_buses)) {
u->sent_dbus_new_signal = true;
return;
}