From: Jonathan Rajotte Julien Date: Fri, 22 Aug 2014 20:25:47 +0000 (-0400) Subject: Fix: list without a name is not an error X-Git-Tag: v2.6.0-rc1~74 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=4aa5f66021766ef1d304fecd4bedb36335924050;p=lttng-tools.git Fix: list without a name is not an error Fixes #829 Signed-off-by: Jonathan Rajotte Julien Signed-off-by: David Goulet --- diff --git a/src/bin/lttng/commands/list.c b/src/bin/lttng/commands/list.c index e3ff4f1ba..4ff6f7858 100644 --- a/src/bin/lttng/commands/list.c +++ b/src/bin/lttng/commands/list.c @@ -1251,7 +1251,6 @@ static int list_sessions(const char *session_name) /* Pretty print */ if (count == 0) { MSG("Currently no available tracing session"); - ret = CMD_ERROR; goto end; }