diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-10-22 12:47:44 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-11-16 15:39:31 +0100 |
commit | c30e0d7b6a57d9587ad596b69852256e4e3bf7fb (patch) | |
tree | d48926a35f24fab2205eb4b6274abeca859b033e | |
parent | 9b9c23daf4b97e4b25ede3179df1cf7d7b27f304 (diff) | |
download | systemd-c30e0d7b6a57d9587ad596b69852256e4e3bf7fb.tar.gz systemd-c30e0d7b6a57d9587ad596b69852256e4e3bf7fb.tar.bz2 systemd-c30e0d7b6a57d9587ad596b69852256e4e3bf7fb.zip |
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.)
-rw-r--r-- | src/login/logind-dbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c index e3fc9a050e..273736290f 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), |