]> git.ipfire.org Git - thirdparty/systemd.git/commit
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)
committerLennart Poettering <lennart@poettering.net>
Thu, 9 Feb 2017 15:13:07 +0000 (16:13 +0100)
commitf9e0eefc7cd0b9cbcdcaf7ba5d79a46d1b94b25a
treeae4eac72db37fe48202a9a1d7a622427e5987552
parent4dae8ae6df4bc2469532db74bf906aebff527d9e
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/analyze/analyze.c
src/hostname/hostnamectl.c
src/locale/localectl.c
src/login/loginctl.c
src/machine/machinectl.c
src/resolve/resolve-tool.c
src/run/run.c
src/shared/bus-util.c
src/shared/bus-util.h
src/systemctl/systemctl.c
src/timedate/timedatectl.c