* src/login/logind-dbus.c (method_create_session): No need to save
session here, as session_send_create_reply will do it.
* src/login/logind-session-dbus.c (session_send_create_reply): On the
other hand we do need to save the user here, so the file marks them as
being active.
- session_save(session);
-
if (fifo_fd < 0)
return fifo_fd;
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. */
p = session_bus_path(s);
if (!p)
p = session_bus_path(s);
if (!p)