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.4.1~10 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=f17600c2f71dd3172b2f10f86f2834ceb90dc420;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 812c850fa..20b072060 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; }