Fix: missing valid return code when adding an URI to consumer
[lttng-tools.git] / src / bin / lttng-sessiond / cmd.c
index 4b8d82efe255d398d9e5eba605be42d96cec5421..5bec355486975a21d0417a9538728d4ea2f3822d 100644 (file)
@@ -458,6 +458,7 @@ static int add_uri_to_consumer(struct consumer_output *consumer,
                         * URI was the same in the consumer so we do not append the subdir
                         * again so to not duplicate output dir.
                         */
+                       ret = LTTNG_OK;
                        goto error;
                }
 
This page took 0.024986 seconds and 5 git commands to generate.