]> git.proxmox.com Git - mirror_lxc.git/blobdiff - src/lxc/start.c
start: non-functional changes
[mirror_lxc.git] / src / lxc / start.c
index e2ca11455274d71e6d920b62358b0bb5f60d67a3..a66881e561f3e2d13056e38b1eb6aa432a7c096e 100644 (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.");