]> git.ipfire.org Git - thirdparty/systemd.git/commit
logind: simplify flags handling a bit
authorLennart Poettering <lennart@poettering.net>
Tue, 2 Feb 2021 14:27:30 +0000 (15:27 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 3 Feb 2021 08:22:59 +0000 (17:22 +0900)
commit3ecafb1f5be6cdd43438231e7eddb1b67e5d02f9
treee48b4025429bb02e1004339576f625657579fa26
parent89d2da287b945206aba9865ca3eb78a07d22c421
logind: simplify flags handling a bit

Let's split out the two codepaths a bit, and emphasize which ones it the
new-style and which the old-style codepath, and let's clearly convert
the params of the old-stye into the new style for further processing, so
that the old style path is brief and isolated.

No change in behaviour.

Follow-up for: 8885fed4e3a52cf1bf105e42043203c485ed9d92
src/login/logind-dbus.c