From: Lennart Poettering Date: Thu, 29 Nov 2018 15:40:13 +0000 (+0100) Subject: core: clarify that the CollectMode bus property is constant X-Git-Tag: v240~127^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=641e0d7a1bf4e24f5bf5f99a2d74a97635335c8e;p=thirdparty%2Fsystemd.git core: clarify that the CollectMode bus property is constant it's configured from unit files only, and hence is constant. --- diff --git a/src/core/dbus-unit.c b/src/core/dbus-unit.c index ca81f6acc71..968166ee604 100644 --- a/src/core/dbus-unit.c +++ b/src/core/dbus-unit.c @@ -676,7 +676,7 @@ const sd_bus_vtable bus_unit_vtable[] = { SD_BUS_PROPERTY("SuccessActionExitStatus", "i", bus_property_get_int, offsetof(Unit, success_action_exit_status), SD_BUS_VTABLE_PROPERTY_CONST), SD_BUS_PROPERTY("RebootArgument", "s", NULL, offsetof(Unit, reboot_arg), SD_BUS_VTABLE_PROPERTY_CONST), SD_BUS_PROPERTY("InvocationID", "ay", bus_property_get_id128, offsetof(Unit, invocation_id), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE), - SD_BUS_PROPERTY("CollectMode", "s", property_get_collect_mode, offsetof(Unit, collect_mode), 0), + SD_BUS_PROPERTY("CollectMode", "s", property_get_collect_mode, offsetof(Unit, collect_mode), SD_BUS_VTABLE_PROPERTY_CONST), SD_BUS_PROPERTY("Refs", "as", property_get_refs, 0, 0), SD_BUS_METHOD("Start", "s", "o", method_start, SD_BUS_VTABLE_UNPRIVILEGED),