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

David Goulet dgoulet at efficios.com
Wed Sep 3 14:50:38 EDT 2014


Merged!

On 22 Aug (16:25:47), Jonathan Rajotte Julien wrote:
> 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
> 
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: Digital signature
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20140903/5b195433/attachment.sig>


More information about the lttng-dev mailing list