From: Christian Brauner Date: Sat, 23 Dec 2017 11:03:32 +0000 (+0100) Subject: start: non-functional changes X-Git-Tag: lxc-2.0.10~420 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cab49b4e151e2eb0bf1546c143e9086a728def18;p=thirdparty%2Flxc.git start: non-functional changes Signed-off-by: Christian Brauner --- diff --git a/src/lxc/start.c b/src/lxc/start.c index 0bd1a4b35..3049d8c0f 100644 --- a/src/lxc/start.c +++ b/src/lxc/start.c @@ -731,11 +731,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.");