chiark / gitweb /
tree-wide: make bus_map_all_properties return a proper sd_bus_error
authorLennart Poettering <lennart@poettering.net>
Wed, 8 Feb 2017 16:59:58 +0000 (17:59 +0100)
committerSven Eden <yamakuzure@gmx.net>
Mon, 17 Jul 2017 15:58:36 +0000 (17:58 +0200)
commit306d96a538d1c007e1f5a700ec7555ef76372306
tree9332c8dfb6163e452ba293b90e17dc1107cbce72
parent147d98675baf1feeea5f7f4b3e546b9785af3155
tree-wide: make bus_map_all_properties return a proper sd_bus_error

And then show it, to make things a bit friendlier to the user if we fail
acquiring some props.

In fact, this fixes a number of actual bugs, where we used an error
structure for output that we actually never got an error in.
src/login/loginctl.c
src/shared/bus-util.c
src/shared/bus-util.h