chiark / gitweb /
logind: activate autovt@.service instead of autovt-getty@.service when the user switc...
[elogind.git] / src / logind.c
index 8fa766129096b326fbded4fcf7113ca8bc9ad0c4..a0a89c0689a5e97318d24d5c478a016528f37b21 100644 (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;