sd-bus: when attached to an sd-event loop, disconnect on processing errors
authorLennart Poettering <lennart@poettering.net>
Fri, 15 Dec 2017 21:24:16 +0000 (22:24 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 5 Jan 2018 12:55:08 +0000 (13:55 +0100)
commit5ae37ad833583e6c1c7765767b7f8360afca3b07
tree88604c4e1f55135fe9b198e6aa18f6d91f901d39
parentb057498a5275c8734b7e430f7d9b1dd13243c98a
sd-bus: when attached to an sd-event loop, disconnect on processing errors

If we can't process the bus for some reason we shouldn't just disable
the event source, but log something and give up on the connection. Hence
do that, and disconnect.
src/libsystemd/sd-bus/sd-bus.c