chiark / gitweb /
logind: extract has_vts() from can_multi_session()
[elogind.git] / src / login / logind-dbus.c
index 4a23c93..fd8ee1b 100644 (file)
@@ -429,7 +429,7 @@ static int bus_manager_create_session(Manager *m, DBusMessage *message) {
         }
 
         if (seat) {
-                if (seat_can_multi_session(seat)) {
+                if (seat_has_vts(seat)) {
                         if (vtnr > 63)
                                 return -EINVAL;
                 } else {