mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-27 14:03:43 +03:00
logind: kill a session as soon as its pipe fd gets EOF
This commit is contained in:
parent
d0a522eb31
commit
21308c654d
@ -771,7 +771,7 @@ static void manager_pipe_notify_eof(Manager *m, int fd) {
|
||||
assert(s->pipe_fd == fd);
|
||||
session_unset_pipe_fd(s);
|
||||
|
||||
session_add_to_gc_queue(s);
|
||||
session_stop(s);
|
||||
}
|
||||
|
||||
static int manager_connect_bus(Manager *m) {
|
||||
|
@ -39,7 +39,6 @@
|
||||
* direct client API
|
||||
* D-Bus method: AttachDevices(seat, devices[]);
|
||||
* D-Bus method: SetLinger(user, bool b);
|
||||
* kill cgroup immediately when fd is EOF.
|
||||
*
|
||||
* non-local X11 server
|
||||
* reboot/shutdown halt management
|
||||
|
Loading…
x
Reference in New Issue
Block a user