chiark / gitweb /
Re-add the saving of the user state file when creating a new session.
authorSven Eden <yamakuzure@gmx.net>
Mon, 3 Jul 2017 12:48:37 +0000 (14:48 +0200)
committerSven Eden <yamakuzure@gmx.net>
Mon, 3 Jul 2017 12:48:37 +0000 (14:48 +0200)
src/login/logind-session-dbus.c

index d517433..7b45f78 100644 (file)
@@ -772,6 +772,10 @@ int session_send_create_reply(Session *s, sd_bus_error *error) {
          * 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)
                 return -ENOMEM;