return EXIT_FAILURE;
}
- log_set_target(LOG_TARGET_AUTO);
+ log_set_target(LOG_TARGET_SAFE);
log_parse_environment();
log_open();
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 */