From 4aa5f66021766ef1d304fecd4bedb36335924050 Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Julien Date: Fri, 22 Aug 2014 16:25:47 -0400 Subject: [PATCH] Fix: list without a name is not an error Fixes #829 Signed-off-by: Jonathan Rajotte Julien Signed-off-by: David Goulet --- src/bin/lttng/commands/list.c | 1 - 1 file changed, 1 deletion(-) 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; } -- 2.34.1