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:22:34 +0000 (14:22 -0400)
Signed-off-by: David Goulet <dgoulet@efficios.com>
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.027114 seconds and 5 git commands to generate.