X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer.c;h=1c919003656be9b81e5c58e8d65f5f02ff57612a;hp=008bf8e54904d71158400216393f0fc6c5786e63;hb=4cbc1a04e8ac3c1dd4f9a4dc44b56ee8430189f0;hpb=ec96a8f6df4c26c3bf0252a642f90e6a78e02c78 diff --git a/src/common/consumer.c b/src/common/consumer.c index 008bf8e54..1c9190036 100644 --- a/src/common/consumer.c +++ b/src/common/consumer.c @@ -1776,8 +1776,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) {