summaryrefslogtreecommitdiff
path: root/src/login/sd-login.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-01-03 21:47:54 +0100
committerLennart Poettering <lennart@poettering.net>2012-01-03 21:47:54 +0100
commitaddedec48ba0ffc4472ef6d3b5a45c9d4239f1cd (patch)
tree867929927cbe2ca2866511d81b5fa4e998531839 /src/login/sd-login.c
parentdc4b02006455a4dddeb6ccc1f6656c89d3ebd27c (diff)
logind: if we can't open /dev/tty0, assume there is no VT subsystem and don't pretend we could do VT switching
Diffstat (limited to 'src/login/sd-login.c')
-rw-r--r--src/login/sd-login.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/sd-login.c b/src/login/sd-login.c
index 1d4368187f..e857ae08d2 100644
--- a/src/login/sd-login.c
+++ b/src/login/sd-login.c
@@ -574,7 +574,7 @@ _public_ int sd_seat_can_multi_session(const char *seat) {
return -ENOMEM;
r = parse_env_file(p, NEWLINE,
- "IS_VTCONSOLE", &s,
+ "CAN_MULTI_SESSION", &s,
NULL);
free(p);