From 6cd33a153c41618b8cf51e8b7d3a5fa7e61612e8 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Thu, 9 Jan 2020 12:28:19 +0100 Subject: [PATCH] mainloop: add missing \n Signed-off-by: Christian Brauner --- src/lxc/mainloop.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lxc/mainloop.c b/src/lxc/mainloop.c index 3a31ed7b1..2ef5a93e6 100644 --- a/src/lxc/mainloop.c +++ b/src/lxc/mainloop.c @@ -65,6 +65,7 @@ int lxc_mainloop_add_handler(struct lxc_epoll_descr *descr, int fd, struct epoll_event ev; struct mainloop_handler *handler; struct lxc_list *item; + if (fd < 0) return -1; -- 2.47.3