X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer.c;h=024ee17853c03c053dfa0ae4382a7e3763346b1f;hb=3fa5d621da48eaeedaa1bc49fcf093d1c9b0d196;hp=dd8c621f177d56968306fb500ce4546870b5bd2d;hpb=1d586c7f93f26f4f29d308835c738b06834d6a70;p=lttng-tools.git diff --git a/src/common/consumer.c b/src/common/consumer.c index dd8c621f1..024ee1785 100644 --- a/src/common/consumer.c +++ b/src/common/consumer.c @@ -1221,8 +1221,12 @@ void *lttng_consumer_thread_receive_fds(void *data) DBG("Received STOP command"); goto end; } - if (ret < 0) { - ERR("Communication interrupted on command socket"); + if (ret <= 0) { + /* + * This could simply be a session daemon quitting. Don't output + * ERR() here. + */ + DBG("Communication interrupted on command socket"); goto end; } if (consumer_quit) {