start: lxc_poll()

parent be576e1e
......@@ -499,7 +499,8 @@ int lxc_poll(const char *name, struct lxc_handler *handler)
bool has_console = true;
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;
ret = lxc_mainloop_open(&descr);
......
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