summaryrefslogtreecommitdiffstats
path: root/src/shared/wall.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* shared/wall: several cleanupsMike Yuan2023-09-081-0/+16
| | | | | | | | | | Follow-up for 53c0397b1dbc95f144d9a551c2086d132933e8ce * Split do_wall into wall_utmp and wall_logind * Don't pass unused arguments * Add missing asserts * Modernize error handling * Don't do anything if neither utmp nor logind is enabled
* shared/wall: use logind if build without utmp supportThorsten Kukuk2023-09-061-0/+11
If systemd is build without utmp support, use sd_get_sessions() in utmp_wall() to get a list of logged in users with the corresponding tty.