From: David Goulet Date: Mon, 24 Mar 2014 18:22:34 +0000 (-0400) Subject: Fix: missing valid return code when adding an URI to consumer X-Git-Tag: v2.5.0-rc1~99 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=f86c9f4e9488dfd3eebb33fbec1b6afb1cd02630;p=lttng-tools.git Fix: missing valid return code when adding an URI to consumer Signed-off-by: David Goulet --- 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; }