Fix: chunk state is not set when relayd does not support trace chunks
[lttng-tools.git] / src / common / relayd / relayd.c
index 49997015e3f9cb73f7fa63fa99c703dbb67a095b..a9c2bb2c36d65829d741ce5b864ed8e7549ff2ed 100644 (file)
@@ -1480,6 +1480,8 @@ int relayd_trace_chunk_exists(struct lttcomm_relayd_sock *sock,
 
        if (!relayd_supports_chunks(sock)) {
                DBG("Refusing to check for trace chunk existence: relayd does not support chunks");
+               /* The chunk will never exist */
+               *chunk_exists = false;
                goto end;
        }
 
This page took 0.024917 seconds and 4 git commands to generate.