Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | shared/wall: several cleanups | Mike Yuan | 2023-09-08 | 1 | -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 support | Thorsten Kukuk | 2023-09-06 | 1 | -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. |