mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-18 06:03:42 +03:00
logind-session: make stopping of idle session visible to admins
(cherry picked from commit 6269ffe7ee8a659df7336a2582054ecd9eecf4b1) (cherry picked from commit f2460b78b9a4e46deb2e9432df68b546a988d46a)
This commit is contained in:
parent
338bbe76ac
commit
a39a0c6db4
@ -711,7 +711,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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user