aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-09-09 15:34:02 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-09-09 15:34:02 +0000
commit65528f455d0d7753da73365fb39b39473a87d8b5 (patch)
treeaeb5f22a9b2e702fe431e684dbf42979d70bf3bd
parentdoc: foot.ini: typo: upppercase -> uppercase (diff)
meson: utempter del has no argument
This fixes an issue where we didn't record a logout record when using the libutempter backend.
-rw-r--r--CHANGELOG.md3
-rw-r--r--meson.build2
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 57144549..4536f6ea 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -93,7 +93,8 @@
* Invalid configuration values overriding valid ones in surprising
ways.
-
+* Bug where the libutempter utmp backend did not record logouts
+ correctly.
### Security
### Contributors
diff --git a/meson.build b/meson.build
index 0b7bbc17..56f4a31c 100644
--- a/meson.build
+++ b/meson.build
@@ -53,7 +53,7 @@ if utmp_backend == 'none'
elif utmp_backend == 'libutempter'
utmp_add = 'add'
utmp_del = 'del'
- utmp_del_have_argument = true
+ utmp_del_have_argument = false
if utmp_default_helper_path == 'auto'
utmp_default_helper_path = join_paths('/usr', get_option('libdir'), 'utempter', 'utempter')
endif