mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-02-10 14:23:16 -05:00
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. |
||
|---|---|---|
| .. | ||
| config.h | ||
| users.c | ||
| users.h | ||