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

This commit is contained in:
nerdopolis
2020-04-10 14:22:27 +02:00
committed by Lennart Poettering
parent df91e319a9
commit fa2cf64a91
+2 -1
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) {