mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-07 02:08:40 +00:00
start: lxc_poll()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
6e94162aae
commit
0376021562
@ -507,7 +507,8 @@ int lxc_poll(const char *name, struct lxc_handler *handler)
|
|||||||
bool has_console = true;
|
bool has_console = true;
|
||||||
struct lxc_epoll_descr descr, descr_console;
|
struct lxc_epoll_descr descr, descr_console;
|
||||||
|
|
||||||
if (handler->conf->console.path && !strcmp(handler->conf->console.path, "none"))
|
if (handler->conf->console.path &&
|
||||||
|
strcmp(handler->conf->console.path, "none") == 0)
|
||||||
has_console = false;
|
has_console = false;
|
||||||
|
|
||||||
ret = lxc_mainloop_open(&descr);
|
ret = lxc_mainloop_open(&descr);
|
||||||
|
Loading…
Reference in New Issue
Block a user