logind: activate autovt@.service instead of autovt-getty@.service when the user switches to a previously unused tty, since it doesn't have to be a getty we start on it on demand
This commit is contained in:
+1
-1
@@ -729,7 +729,7 @@ int manager_spawn_autovt(Manager *m, int vtnr) {
|
||||
goto finish;
|
||||
}
|
||||
|
||||
if (asprintf(&name, "autovt-getty@tty%i.service", vtnr) < 0) {
|
||||
if (asprintf(&name, "autovt@tty%i.service", vtnr) < 0) {
|
||||
log_error("Could not allocate service name.");
|
||||
r = -ENOMEM;
|
||||
goto finish;
|
||||
|
||||
Reference in New Issue
Block a user