chiark / gitweb /
logind: Properly list the ACTIVE_SEATS in the user session tracking file.
[elogind.git] / src / login / logind-user.c
index a33978c188cc33d3bfe4019fcb1542041355240f..a6672ce670acd7180bec825de3c3766cc9c1d8a3 100644 (file)
@@ -189,7 +189,9 @@ int user_save(User *u) {
                         if (first)
                                 first = false;
                         else
-                                fputs(i->seat->id, f);
+                                fputc(' ', f);
+
+                        fputs(i->seat->id, f);
                 }
                 fputc('\n', f);
         }