Project

General

Profile

Actions

Bug #829

closed

lttng list command reports an error when no tracing sessions are available

Added by Jérémie Galarneau over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Target version:
Start date:
08/21/2014
Due date:
% Done:

100%

Estimated time:

Description

lttng list should not return an error if no sessions are registered to the session daemon.

$ lttng list                                                                                                                                                      
Currently no available tracing session
Error: Command error
$ echo $?                                                                                                                                                         
1
Actions

Also available in: Atom PDF