projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add unsupported error code to lttng cmd line
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
list.c
diff --git
a/src/bin/lttng/commands/list.c
b/src/bin/lttng/commands/list.c
index 5429df4e2eacc9dbdc1c1b1186999046b3732309..6677e4c4e1401767821cf62942b1ce146f3683c4 100644
(file)
--- a/
src/bin/lttng/commands/list.c
+++ b/
src/bin/lttng/commands/list.c
@@
-593,6
+593,7
@@
static int list_sessions(const char *session_name)
DBG("Session count %d", count);
if (count < 0) {
ret = count;
DBG("Session count %d", count);
if (count < 0) {
ret = count;
+ ERR("%s", lttng_strerror(ret));
goto error;
} else if (count == 0) {
MSG("Currently no available tracing session");
goto error;
} else if (count == 0) {
MSG("Currently no available tracing session");
This page took
0.024845 seconds
and
4
git commands to generate.