chiark / gitweb /
Prep v220: Apply "Fixes to user and session saving"
authorSven Eden <yamakuzure@gmx.net>
Mon, 5 Dec 2016 08:21:35 +0000 (09:21 +0100)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 09:17:18 +0000 (10:17 +0100)
src/login/logind-session-dbus.c

index 563153e2d92b64644f35e3c587cbd4da43a71bd3..b5ecc322f56e7fba9d6642a3b3e4e60daa6dc5a7 100644 (file)
@@ -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)