diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-08-11 21:49:20 +0200 |
---|---|---|
committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-08-11 21:49:20 +0200 |
commit | fb39f96ac6f72bb56d17f3e8694134dfea9186e9 (patch) | |
tree | af008b4d92b42404d16b8fb687530ab73b969eb9 /plugins/sslutils.c | |
parent | 4a0e309f9f5a85af6087e3eb7034a98dd410c6f7 (diff) | |
download | monitoring-plugins-fb39f96ac6f72bb56d17f3e8694134dfea9186e9.tar.gz |
check_users: Use sd_get_uids instead of sd_get_session
Previously check_users in combination with systemd used
sd_get_sessions (3) to aquire the number of users, probably
with the idea that every users opens a session.
Turns out, that a user can have multiple sessions and we only really
want to know how many users there are.
This commit changes to sd_get_uids (3) to achieve that target.
Diffstat (limited to 'plugins/sslutils.c')
0 files changed, 0 insertions, 0 deletions