]> git.ipfire.org Git - thirdparty/systemd.git/commit
logind: use handle_action_to_string where appropriate
authorMike Yuan <me@yhndnzj.com>
Mon, 1 Jan 2024 12:08:11 +0000 (20:08 +0800)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 1 Jan 2024 18:12:44 +0000 (19:12 +0100)
commita31222b232eb4312301b232a3f28f144ab144895
treeb3917635def69b387b8a815b5af537488b03262b
parent3ea26cb8b29cc1377a5d3c89c234384be37e581a
logind: use handle_action_to_string where appropriate

Since 138224fc807091d31f19a3b22f066d6044626001, HandleActionData
records the corresponding HandleAction. Let's use it instead of
relying on inhibit_what when mapping to string.
src/login/logind-action.c
src/login/logind-dbus.c