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 7c3211a5927ffc2c34a0f3f5e72528be8c8c4575..12499ee408f1e545b3afbe727f2b0c3659a23082 100644
(file)
--- a/
src/bin/lttng/commands/list.c
+++ b/
src/bin/lttng/commands/list.c
@@
-1207,7
+1207,7
@@
static int list_channels(const char *channel_name)
}
} else {
/* Pretty print */
}
} else {
/* Pretty print */
- if (c
hannel_name == NULL
) {
+ if (c
ount
) {
MSG("Channels:\n-------------");
}
MSG("Channels:\n-------------");
}
This page took
0.024563 seconds
and
4
git commands to generate.