chiark / gitweb /
Merge pull request #21 from elogind/v231-stable
[elogind.git] / src / login / logind-session-dbus.c
index d1e652344686426010cb25362f18e3ec716420ca..7b45f783002f0bc3f369160ae0da1dabaa308fae 100644 (file)
@@ -768,10 +768,13 @@ int session_send_create_reply(Session *s, sd_bus_error *error) {
         if (fifo_fd < 0)
                 return fifo_fd;
 
-        /* Update the session and user state files before we notify
-         * the client about the result. */
+        /* Update the session state file before we notify the client
+         * about the result. */
         session_save(s);
+
+#if 1 /// Additionally elogind saves the user state file
         user_save(s->user);
+#endif // 1
 
         p = session_bus_path(s);
         if (!p)