diff options
-rw-r--r-- | src/login/logind-session-device.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/login/logind-session-device.c b/src/login/logind-session-device.c index c64fb4359b..73eee72515 100644 --- a/src/login/logind-session-device.c +++ b/src/login/logind-session-device.c @@ -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; } |