chiark / gitweb /
container: spawn a getty instead of a sulogin in a container
[elogind.git] / src / getty-generator / getty-generator.c
index 58ad8a66358e4b8a5d2cefc2d2e3d9321c8d19be..13dca7d1b0acccbe2ed8940c9d01dd888276dd5a 100644 (file)
@@ -116,7 +116,7 @@ int main(int argc, char *argv[]) {
         if (detect_container(NULL) > 0) {
                 log_debug("Automatically adding console shell.");
 
-                if (add_symlink("console-shell.service", "console-shell.service") < 0)
+                if (add_symlink("console-getty.service", "console-getty.service") < 0)
                         r = EXIT_FAILURE;
 
                 /* Don't add any further magic if we are in a container */