Unverified Commit 3eae056d by LiFeng Committed by Christian Brauner

Fix lxc-console hang

The variable 'descr' is mistakenly covered with 'descr_console'. Signed-off-by: 's avatarLiFeng <lifeng68@huawei.com>
parent f2e6891e
......@@ -542,6 +542,8 @@ int lxc_poll(const char *name, struct lxc_handler *handler)
ERROR("Failed to add console handlers to console mainloop");
goto out_mainloop_console;
}
handler->conf->console.descr = &descr;
}
ret = lxc_cmd_mainloop_add(name, &descr, handler);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment