[lttng-dev] [PATCH lttng-tool] Fix: list without a name is not an error

Jonathan Rajotte Julien jonathan.r.julien at gmail.com
Fri Aug 22 16:25:47 EDT 2014


Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien at gmail.com>
---
 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 ccffdc7..bd96f88 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.0.4




More information about the lttng-dev mailing list