]> git.ipfire.org Git - thirdparty/lxc.git/commit
c/r: don't fail if there is no console_fd on restore 906/head
authorTycho Andersen <tycho.andersen@canonical.com>
Mon, 21 Mar 2016 22:52:02 +0000 (16:52 -0600)
committerTycho Andersen <tycho.andersen@canonical.com>
Mon, 21 Mar 2016 22:56:03 +0000 (16:56 -0600)
commit97e4f1a91f39fa3b4012eedf8f4e56f419dd2cca
treedc5d7e53f784fff536184eb0f4517099dc5a0dae
parent36d2096cf43340701150778d5547ec4f5a127338
c/r: don't fail if there is no console_fd on restore

If we set lxc.console=none, this fd won't exist, so let's not fail if it
doesn't. We already partially handled this case correctly, so let's
actually handle it correctly :)

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
src/lxc/criu.c