projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: ustctl: return -EPIPE to sessiond if connection is closed
[lttng-ust.git]
/
liblttng-ust-ctl
/
ustctl.c
diff --git
a/liblttng-ust-ctl/ustctl.c
b/liblttng-ust-ctl/ustctl.c
index ff4a537b540b71e0b58a97fd24a029bfd8447af3..54456c8e9712dc21ffd64360b602d3fe8c3f49ba 100644
(file)
--- a/
liblttng-ust-ctl/ustctl.c
+++ b/
liblttng-ust-ctl/ustctl.c
@@
-252,8
+252,6
@@
int ustctl_set_filter(int sock, struct lttng_ust_filter_bytecode *bytecode,
ret = ustcomm_send_unix_sock(sock, bytecode->data,
bytecode->len);
if (ret < 0) {
ret = ustcomm_send_unix_sock(sock, bytecode->data,
bytecode->len);
if (ret < 0) {
- if (ret == -ECONNRESET)
- fprintf(stderr, "remote end closed connection\n");
return ret;
}
if (ret != bytecode->len)
return ret;
}
if (ret != bytecode->len)
This page took
0.036408 seconds
and
4
git commands to generate.