~kennylevinsen/seatd-devel

seatd: build: fix logind feature summary when auto-detected v1 APPLIED

Simon Ser: 1
 build: fix logind feature summary when auto-detected

 1 files changed, 2 insertions(+), 2 deletions(-)
#479740 running alpine.yml
#479741 running archlinux.yml
build pending: smoketest-builtin.sh
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~kennylevinsen/seatd-devel/patches/21865/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH seatd] build: fix logind feature summary when auto-detected Export this patch

If -Dlogind=auto but systemd/elogind isn't available,
logind_provider would get set to the last item of the foreach loop.
This would incorrectly report "systemd: YES".
---
 meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meson.build b/meson.build
index 5d67d5943deb..aaa7d6963009 100644
--- a/meson.build
+++ b/meson.build
@@ -238,6 +238,6 @@ endif
summary({
	'seatd': get_option('seatd').enabled(),
	'builtin': get_option('builtin').enabled(),
	'systemd': logind_provider == 'systemd',
	'elogind': logind_provider == 'elogind',
	'systemd': logind.found() and logind_provider == 'systemd',
	'elogind': logind.found() and logind_provider == 'elogind',
}, bool_yn: true)
-- 
2.31.1
Applied, thanks!