mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
logind-session: make stopping of idle session visible to admins
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
e0b3a70fab
commit
6269ffe7ee
@@ -710,7 +710,7 @@ static int session_dispatch_stop_on_idle(sd_event_source *source, uint64_t t, vo
|
||||
|
||||
idle = session_get_idle_hint(s, &ts);
|
||||
if (idle) {
|
||||
log_debug("Session \"%s\" of user \"%s\" is idle, stopping.", s->id, s->user->user_record->user_name);
|
||||
log_info("Session \"%s\" of user \"%s\" is idle, stopping.", s->id, s->user->user_record->user_name);
|
||||
|
||||
return session_stop(s, /* force */ true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user