projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fb2c8b
)
logind: don't claim we'd preallocate VTs when we shortcut it
author
Lennart Poettering
<lennart@poettering.net>
Tue, 23 Jul 2019 08:13:45 +0000
(10:13 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 23 Jul 2019 14:08:06 +0000
(16:08 +0200)
src/login/logind-seat.c
patch
|
blob
|
history
diff --git
a/src/login/logind-seat.c
b/src/login/logind-seat.c
index
9577ff8
..
094fcd6
100644
(file)
--- a/
src/login/logind-seat.c
+++ b/
src/login/logind-seat.c
@@
-191,14
+191,14
@@
int seat_preallocate_vts(Seat *s) {
assert(s);
assert(s->manager);
- log_debug("Preallocating VTs...");
-
if (s->manager->n_autovts <= 0)
return 0;
if (!seat_has_vts(s))
return 0;
+ log_debug("Preallocating VTs...");
+
for (i = 1; i <= s->manager->n_autovts; i++) {
int q;