Small fix to lttng list session
authorDavid Goulet <dgoulet@efficios.com>
Tue, 14 Feb 2012 22:31:57 +0000 (17:31 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 14 Feb 2012 23:30:07 +0000 (18:30 -0500)
This patch makes lttng_list_sessions return 0 (not an error) when there
is in fact zero registered sessions. Also adding a MSG() to the user to
inform that no sessions exist and the error code is 0.

Reported-by: Tan Dung Le Tran <tan.dung.le.tran@ericsson.com>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>

No differences found
This page took 0.025224 seconds and 4 git commands to generate.