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: don't rely on static IDs in tests
[elogind.git]
/
src
/
libsystemd
/
sd-bus
/
bus-util.c
diff --git
a/src/libsystemd/sd-bus/bus-util.c
b/src/libsystemd/sd-bus/bus-util.c
index c9d8713b25cade2e8ec3f01f8213805526daaefe..52d4ebe6112f919ce4572a0ae08bc4f47756f50a 100644
(file)
--- a/
src/libsystemd/sd-bus/bus-util.c
+++ b/
src/libsystemd/sd-bus/bus-util.c
@@
-123,7
+123,7
@@
int bus_event_loop_with_idle(
if (r < 0)
return r;
if (r < 0)
return r;
- if (r == 0 && !exiting) {
+ if (r == 0 && !exiting
&& idle
) {
r = sd_bus_try_close(bus);
if (r == -EBUSY)
r = sd_bus_try_close(bus);
if (r == -EBUSY)