start: non-functional changes

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner 2017-12-23 12:03:32 +01:00
parent 24945df77b
commit 4d1ffb0abb
No known key found for this signature in database
GPG Key ID: 8EB056D53EECB12D

View File

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