login: Fix incorrect reporting of CanMultiSession=no on non-seat0 seats

This commit is contained in:
nerdopolis 2020-04-09 17:22:07 -04:00 committed by Lennart Poettering
parent df91e319a9
commit fa2cf64a91
1 changed files with 2 additions and 1 deletions

View File

@ -561,7 +561,8 @@ bool seat_is_seat0(Seat *s) {
bool seat_can_multi_session(Seat *s) {
assert(s);
return seat_has_vts(s);
/* multiple sessions are supported on all seats now */
return true;
}
bool seat_can_tty(Seat *s) {