mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
login: Fix incorrect reporting of CanMultiSession=no on non-seat0 seats
This commit is contained in:
committed by
Lennart Poettering
parent
df91e319a9
commit
fa2cf64a91
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user