chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
logind: activate autovt@.service instead of autovt-getty@.service when the user switc...
[elogind.git]
/
src
/
logind.c
diff --git
a/src/logind.c
b/src/logind.c
index 8fa766129096b326fbded4fcf7113ca8bc9ad0c4..a0a89c0689a5e97318d24d5c478a016528f37b21 100644
(file)
--- a/
src/logind.c
+++ b/
src/logind.c
@@
-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;