From 86e97d599f8b1ca379dce64fadac9b8f6b002ac5 Mon Sep 17 00:00:00 2001 From: Sven Eden Date: Mon, 5 Dec 2016 09:21:35 +0100 Subject: [PATCH] Prep v220: Apply "Fixes to user and session saving" --- src/login/logind-session-dbus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/login/logind-session-dbus.c b/src/login/logind-session-dbus.c index 563153e2d..b5ecc322f 100644 --- a/src/login/logind-session-dbus.c +++ b/src/login/logind-session-dbus.c @@ -714,9 +714,10 @@ int session_send_create_reply(Session *s, sd_bus_error *error) { if (fifo_fd < 0) return fifo_fd; - /* Update the session state file before we notify the client + /* Update the session and user state file before we notify the client * about the result. */ session_save(s); + user_save(s->user); p = session_bus_path(s); if (!p) -- 2.30.2