the assert expects a working /var/log/wtmp at build time diff --git a/meson.build b/meson.build index 4a509e7..f995d28 100644 --- a/meson.build +++ b/meson.build @@ -103,8 +103,7 @@ elif cc.has_header_symbol('paths.h', '_PATH_WTMPX') config_h.set('PATH_WTMP', '_PATH_WTMPX') else - path_wtmp = '/var/log/utx.log' - assert(run_command('test', '-e', path_wtmp, check: false).returncode() == 0, 'Do not know which filename to watch for wtmp changes') + path_wtmp = '/var/log/wtmp' config_h.set_quoted('PATH_WTMP', path_wtmp) endif