Fix: list without a name is not an error
authorJonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Fri, 22 Aug 2014 20:25:47 +0000 (16:25 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Wed, 3 Sep 2014 18:45:18 +0000 (14:45 -0400)
Fixes #829

Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng/commands/list.c

index e3ff4f1bac7d422f911e0f53e125060bb4b30137..4ff6f785874f13cf3f0049381c1c8dac6679de2a 100644 (file)
@@ -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;
                }
 
This page took 0.026145 seconds and 4 git commands to generate.