From: Sven Eden Date: Mon, 5 Dec 2016 08:21:35 +0000 (+0100) Subject: Prep v220: Apply "Fixes to user and session saving" X-Git-Tag: v226.4~1^2~152 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=86e97d599f8b1ca379dce64fadac9b8f6b002ac5;ds=sidebyside Prep v220: Apply "Fixes to user and session saving" --- 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)