1
0
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:
Zbigniew Jędrzejewski-Szmek 2018-03-05 17:18:47 +01:00 committed by GitHub
commit 8c6414be15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}