From e36ba56cafbf3a8ef617f998d71a985a5c316167 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Fri, 15 Feb 2019 20:57:31 +0100 Subject: [PATCH] module/i3-common: being disconnected is usually not an error --- modules/i3-common.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/i3-common.c b/modules/i3-common.c index ab7b405..939fe30 100644 --- a/modules/i3-common.c +++ b/modules/i3-common.c @@ -142,11 +142,13 @@ i3_receive_loop(int abort_fd, int sock, break; } - if (fds[0].revents & POLLIN) + if (fds[0].revents & POLLIN) { + LOG_DBG("aborted"); break; + } if (fds[1].revents & POLLHUP) { - LOG_WARN("disconnected"); + LOG_DBG("disconnected"); break; }