mirror of
https://github.com/systemd/systemd.git
synced 2025-03-28 02:50:16 +03:00
Merge pull request #8345 from sourcejedi/logind_restart_is_sorely_lacking_in_testing
login: fix for #8343
This commit is contained in:
commit
8c6414be15
@ -526,7 +526,7 @@ int session_device_save(SessionDevice *sd) {
|
||||
return 0;
|
||||
|
||||
m = strjoina("FDSTORE=1\n"
|
||||
"FDNAME=session", sd->session->id);
|
||||
"FDNAME=session-", sd->session->id);
|
||||
|
||||
r = sd_pid_notify_with_fds(0, false, m, &sd->fd, 1);
|
||||
if (r < 0)
|
||||
@ -543,5 +543,6 @@ void session_device_attach_fd(SessionDevice *sd, int fd, bool active) {
|
||||
assert(!sd->active);
|
||||
|
||||
sd->fd = fd;
|
||||
sd->pushed_fd = true;
|
||||
sd->active = active;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user