Fix: missing valid return code when adding an URI to consumer
authorDavid Goulet <dgoulet@efficios.com>
Mon, 24 Mar 2014 18:22:34 +0000 (14:22 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Mon, 24 Mar 2014 18:35:35 +0000 (14:35 -0400)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/cmd.c

index 812c850faa73b9b4efb34b5030c6f46dd22c00d2..20b0720604e4f2379ab7053e1ac769dda1976405 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.028287 seconds and 4 git commands to generate.