chiark / gitweb /
Major cleanup of all leftovers after rebasing on master.
[elogind.git] / src / login / logind-session-dbus.c
index b0db8e2ccb6cdf06e0a844d2d031b32b4bf89dba..5d3fec41146157dd5c5bb2fc9232bb2ef2c8cd57 100644 (file)
@@ -720,9 +720,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
-         * about the result. */
+        /* Update the session and user state files before we notify
+         * the client about the result. */
         session_save(s);
+        user_save(s->user);
 
         p = session_bus_path(s);
         if (!p)