terminal: don't garble output

parent 3b7e332f
......@@ -922,7 +922,6 @@ int lxc_terminal_setup(struct lxc_conf *conf)
{
int ret;
struct lxc_terminal *terminal = &conf->console;
struct termios oldtios;
if (terminal->path && strcmp(terminal->path, "none") == 0) {
INFO("No terminal requested");
......@@ -933,10 +932,6 @@ int lxc_terminal_setup(struct lxc_conf *conf)
if (ret < 0)
return -1;
ret = lxc_setup_tios(terminal->master, &oldtios);
if (ret < 0)
return -1;
ret = lxc_terminal_create_log_file(terminal);
if (ret < 0)
goto err;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment