summaryrefslogtreecommitdiff
path: root/src/core/dbus-service.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-04-01 18:39:25 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-04-02 05:39:05 +0900
commitebf8d79a584f08240a4af8a12ce7d6378f785a03 (patch)
tree0f8905c9191111383bde7d2abaea473676abe2d4 /src/core/dbus-service.c
parentc25c118710d6c4a28f7ee4505ff990c34d84b456 (diff)
downloadsystemd-ebf8d79a584f08240a4af8a12ce7d6378f785a03.tar.gz
core: export ReloadResult value on the bus
We keep track of it, but never exposed it. Let's fix that.
Diffstat (limited to 'src/core/dbus-service.c')
-rw-r--r--src/core/dbus-service.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/dbus-service.c b/src/core/dbus-service.c
index 8f3ebd3f6a..48c0fb74a7 100644
--- a/src/core/dbus-service.c
+++ b/src/core/dbus-service.c
@@ -121,6 +121,7 @@ const sd_bus_vtable bus_service_vtable[] = {
SD_BUS_PROPERTY("StatusText", "s", NULL, offsetof(Service, status_text), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),
SD_BUS_PROPERTY("StatusErrno", "i", bus_property_get_int, offsetof(Service, status_errno), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),
SD_BUS_PROPERTY("Result", "s", property_get_result, offsetof(Service, result), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),
+ SD_BUS_PROPERTY("ReloadResult", "s", property_get_result, offsetof(Service, reload_result), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),
SD_BUS_PROPERTY("USBFunctionDescriptors", "s", NULL, offsetof(Service, usb_function_descriptors), SD_BUS_VTABLE_PROPERTY_CONST),
SD_BUS_PROPERTY("USBFunctionStrings", "s", NULL, offsetof(Service, usb_function_strings), SD_BUS_VTABLE_PROPERTY_CONST),
SD_BUS_PROPERTY("UID", "u", bus_property_get_uid, offsetof(Unit, ref_uid), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),