summaryrefslogtreecommitdiff
path: root/src/login/logind-dbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/login/logind-dbus.c')
-rw-r--r--src/login/logind-dbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c
index 0550d1bd1c..efbc040ad3 100644
--- a/src/login/logind-dbus.c
+++ b/src/login/logind-dbus.c
@@ -301,7 +301,7 @@ static int bus_manager_create_session(Manager *m, DBusMessage *message, DBusMess
return -EINVAL;
if (s) {
- if (seat_is_vtconsole(s)) {
+ if (seat_can_multi_session(s)) {
if (vtnr <= 0 || vtnr > 63)
return -EINVAL;
} else {