]> git.ipfire.org Git - thirdparty/systemd.git/commit
Introduce bus_unit_check_load_state() helper
authorFranck Bui <fbui@suse.com>
Fri, 13 Nov 2015 13:12:19 +0000 (14:12 +0100)
committerFranck Bui <fbui@suse.com>
Sun, 22 Nov 2015 14:05:40 +0000 (15:05 +0100)
commit000a996dc46c187f803b67b0b0d51ad4d0bc1658
treea3a91019b3ae6fa4926d92c9974add295c86039c
parentcf0f970fe1c6101b45cae8277c221c10398b8e1e
Introduce bus_unit_check_load_state() helper

This function is used to check that a previous unit load succeed and
returns 0 in this case.

In the case the load failed, the function setup a bus error
accordingly and returns -errno.
src/core/dbus-unit.c
src/core/dbus-unit.h