From 90f0753b4bd842a478767bffbd28dddf6a63d61b Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Sun, 18 Feb 2018 23:51:58 +0100 Subject: [PATCH] start: lxc_poll() Signed-off-by: Christian Brauner --- src/lxc/start.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lxc/start.c b/src/lxc/start.c index 4b142e89c..7ca376422 100644 --- a/src/lxc/start.c +++ b/src/lxc/start.c @@ -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); -- 2.47.2