Fix unitilialized ret value (revisited)
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 7 Feb 2012 22:46:54 +0000 (17:46 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 7 Feb 2012 22:46:54 +0000 (17:46 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/bin/lttng/commands/view.c

index 575109b86befce60e0a263f8aa90900b5c39debf..aa8d612b57e92825e8217e6452c0a3f378aa9a99 100644 (file)
@@ -329,6 +329,7 @@ static int view_trace(void)
 
        if (!found) {
                MSG("Session name %s not found", session_name);
+               ret = CMD_ERROR;
                goto free_sessions;
        }
 
This page took 0.026071 seconds and 4 git commands to generate.