Fix: ustctl: return -EPIPE to sessiond if connection is closed
[lttng-ust.git] / liblttng-ust-ctl / ustctl.c
index ff4a537b540b71e0b58a97fd24a029bfd8447af3..54456c8e9712dc21ffd64360b602d3fe8c3f49ba 100644 (file)
@@ -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) {
-               if (ret == -ECONNRESET)
-                       fprintf(stderr, "remote end closed connection\n");
                return ret;
        }
        if (ret != bytecode->len)
This page took 0.024455 seconds and 4 git commands to generate.