chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
logind: fix seat_can_tty() to check for VTs
[elogind.git]
/
src
/
login
/
logind-seat.c
diff --git
a/src/login/logind-seat.c
b/src/login/logind-seat.c
index 9b6ceb31af09a76bc7976de0b129d16cf14dc34b..c5350fbf53366c2bd988212a2b2ab5ec68f0f387 100644
(file)
--- a/
src/login/logind-seat.c
+++ b/
src/login/logind-seat.c
@@
-445,7
+445,7
@@
bool seat_can_multi_session(Seat *s) {
bool seat_can_tty(Seat *s) {
assert(s);
- return seat_is_seat0(s);
+ return seat_is_seat0(s)
&& s->manager->console_active_fd >= 0
;
}
bool seat_has_master_device(Seat *s) {