chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:49:54 +0000 (07:49 +0200)
commit248448bd6f47d120677ed5e0f562db656ff07f17
treec296e5663521c4985040bccc34df89e3a13ea3c6
parentffb6212b91e48ddb1505853ae5416abb4078cfa7
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/libelogind/sd-bus/sd-bus.c