mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-23 00:06:05 +00:00
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.
This commit is contained in:
committed by
Lennart Poettering
parent
c9caad8021
commit
47acb2f15f
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user