From: Christian Brauner Date: Sun, 18 Feb 2018 22:51:58 +0000 (+0100) Subject: start: lxc_poll() X-Git-Tag: lxc-3.0.0.beta1~22^2~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0376021562e0e3861887874ed1e526ef79e42b3c;p=thirdparty%2Flxc.git start: lxc_poll() Signed-off-by: Christian Brauner --- diff --git a/src/lxc/start.c b/src/lxc/start.c index 324a3041c..44c9feec8 100644 --- a/src/lxc/start.c +++ b/src/lxc/start.c @@ -507,7 +507,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);