]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
dont fail on failure to link kmsg
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Wed, 14 Nov 2012 03:35:51 +0000 (21:35 -0600)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Wed, 14 Nov 2012 14:55:07 +0000 (08:55 -0600)
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/conf.c

index 8f1cba9c827d3c536d38155963635bc91461758e..fe574acca2d5a0315272164c0d25b6969cc62bdf 100644 (file)
@@ -2290,10 +2290,8 @@ int lxc_setup(const char *name, struct lxc_conf *lxc_conf)
                return -1;
        }
 
-       if (setup_kmsg(&lxc_conf->rootfs, &lxc_conf->console)) {
+       if (setup_kmsg(&lxc_conf->rootfs, &lxc_conf->console))  // don't fail
                ERROR("failed to setup kmsg for '%s'", name);
-               return -1;
-       }
 
        if (setup_tty(&lxc_conf->rootfs, &lxc_conf->tty_info, lxc_conf->ttydir)) {
                ERROR("failed to setup the ttys for '%s'", name);