start: non-functional changes

parent db609dff
...@@ -731,11 +731,12 @@ int lxc_init(const char *name, struct lxc_handler *handler) ...@@ -731,11 +731,12 @@ int lxc_init(const char *name, struct lxc_handler *handler)
TRACE("set up signal fd"); TRACE("set up signal fd");
/* Do this after setting up signals since it might unblock SIGWINCH. */ /* Do this after setting up signals since it might unblock SIGWINCH. */
if (lxc_console_create(conf)) { ret = lxc_console_create(conf);
ERROR("Failed to create console for container \"%s\".", name); if (ret < 0) {
ERROR("Failed to create console");
goto out_restore_sigmask; goto out_restore_sigmask;
} }
TRACE("created console"); TRACE("Created console");
if (lxc_ttys_shift_ids(conf) < 0) { if (lxc_ttys_shift_ids(conf) < 0) {
ERROR("Failed to shift tty into container."); ERROR("Failed to shift tty into container.");
......
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