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:
Lennart Poettering
2011-06-28 19:25:08 +02:00
parent ae556c2109
commit cd9e5d0a76
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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;