projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: Don't report an error when listing a session with no channels
[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 ea9427f4770f158458f6e8e79456f2f7d7b6c91b..5e9b28cff5bd295e557d17a2b561ad7d2d2fee02 100644
(file)
--- a/
src/bin/lttng/commands/list.c
+++ b/
src/bin/lttng/commands/list.c
@@
-1202,7
+1202,7
@@
static int list_channels(const char *channel_name)
}
} else {
/* Pretty print */
- if (c
hannel_name == NULL
) {
+ if (c
ount
) {
MSG("Channels:\n-------------");
}
This page took
0.034626 seconds
and
4
git commands to generate.