]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Unify virSystemdHas{Machined,Logind}
authorJiri Denemark <jdenemar@redhat.com>
Thu, 25 Jan 2024 11:38:00 +0000 (12:38 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 7 Feb 2024 13:19:42 +0000 (14:19 +0100)
commit3869c2a2813858722611625e3ec95f1cb2176660
tree60847af8a2962753dcde5ceabe6d68fe4b287174
parentf2a5494fbdc929736d7368595db55987b77fe75e
util: Unify virSystemdHas{Machined,Logind}

When checking for machined we do not really care whether systemd itself
is running, we just need machined to be either running or socket
activated by systemd. That is, exactly the same we do for logind.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/util/virsystemd.c