From f86c9f4e9488dfd3eebb33fbec1b6afb1cd02630 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Mon, 24 Mar 2014 14:22:34 -0400 Subject: [PATCH] Fix: missing valid return code when adding an URI to consumer Signed-off-by: David Goulet --- src/bin/lttng-sessiond/cmd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/lttng-sessiond/cmd.c b/src/bin/lttng-sessiond/cmd.c index 4b8d82efe..5bec35548 100644 --- a/src/bin/lttng-sessiond/cmd.c +++ b/src/bin/lttng-sessiond/cmd.c @@ -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; } -- 2.34.1