From: Lennart Poettering Date: Mon, 22 Oct 2018 10:47:44 +0000 (+0200) Subject: logind: don't claim that RebootToFirmwareSetup was constant X-Git-Tag: v240~306^2~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c30e0d7b6a57d9587ad596b69852256e4e3bf7fb;p=thirdparty%2Fsystemd.git logind: don't claim that RebootToFirmwareSetup was constant It's not, after all, that's what SetRebootToFirmware() is about. (I was wondering for a moment whether to make this EMITS_CHANGES, but decided against it, given that the flag actually can be changed externally to logind too, and we couldn't send out notifications for that.) --- diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c index e3fc9a050ec..273736290f2 100644 --- a/src/login/logind-dbus.c +++ b/src/login/logind-dbus.c @@ -2646,7 +2646,7 @@ const sd_bus_vtable manager_vtable[] = { SD_BUS_PROPERTY("KillOnlyUsers", "as", NULL, offsetof(Manager, kill_only_users), SD_BUS_VTABLE_PROPERTY_CONST), SD_BUS_PROPERTY("KillExcludeUsers", "as", NULL, offsetof(Manager, kill_exclude_users), SD_BUS_VTABLE_PROPERTY_CONST), SD_BUS_PROPERTY("KillUserProcesses", "b", NULL, offsetof(Manager, kill_user_processes), SD_BUS_VTABLE_PROPERTY_CONST), - SD_BUS_PROPERTY("RebootToFirmwareSetup", "b", property_get_reboot_to_firmware_setup, 0, SD_BUS_VTABLE_PROPERTY_CONST), + SD_BUS_PROPERTY("RebootToFirmwareSetup", "b", property_get_reboot_to_firmware_setup, 0, 0), SD_BUS_PROPERTY("IdleHint", "b", property_get_idle_hint, 0, SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE), SD_BUS_PROPERTY("IdleSinceHint", "t", property_get_idle_since_hint, 0, SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE), SD_BUS_PROPERTY("IdleSinceHintMonotonic", "t", property_get_idle_since_hint, 0, SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),