projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: consumer recv command error path
[lttng-tools.git]
/
src
/
common
/
consumer.c
diff --git
a/src/common/consumer.c
b/src/common/consumer.c
index dd8c621f177d56968306fb500ce4546870b5bd2d..024ee17853c03c053dfa0ae4382a7e3763346b1f 100644
(file)
--- 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;
}
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) {
goto end;
}
if (consumer_quit) {
This page took
0.023292 seconds
and
4
git commands to generate.