mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-06-07 18:18:40 +00:00
dont fail on failure to link kmsg
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
parent
18c266fc4c
commit
f62b344996
@ -2290,10 +2290,8 @@ int lxc_setup(const char *name, struct lxc_conf *lxc_conf)
|
|||||||
return -1;
|
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);
|
ERROR("failed to setup kmsg for '%s'", name);
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (setup_tty(&lxc_conf->rootfs, &lxc_conf->tty_info, lxc_conf->ttydir)) {
|
if (setup_tty(&lxc_conf->rootfs, &lxc_conf->tty_info, lxc_conf->ttydir)) {
|
||||||
ERROR("failed to setup the ttys for '%s'", name);
|
ERROR("failed to setup the ttys for '%s'", name);
|
||||||
|
Loading…
Reference in New Issue
Block a user