Commit 47acb2f1 authored by Colin Guthrie's avatar Colin Guthrie Committed by Lennart Poettering
Browse files

logind: Properly list the ACTIVE_SEATS in the user session tracking file.

Prevsiouly the first active seat for a user would never be listed and
any subsequent seats would be concatenated on without any spaces.
parent c9caad80
...@@ -189,7 +189,9 @@ int user_save(User *u) { ...@@ -189,7 +189,9 @@ int user_save(User *u) {
if (first) if (first)
first = false; first = false;
else else
fputs(i->seat->id, f); fputc(' ', f);
fputs(i->seat->id, f);
} }
fputc('\n', f); fputc('\n', f);
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment