projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5d63bf
)
Fix: don't print usage when listing fails
author
David Goulet
<dgoulet@efficios.com>
Tue, 18 Dec 2012 20:18:27 +0000
(15:18 -0500)
committer
David Goulet
<dgoulet@efficios.com>
Tue, 18 Dec 2012 20:18:28 +0000
(15:18 -0500)
Fixes #414
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng/commands/list.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/lttng/commands/list.c
b/src/bin/lttng/commands/list.c
index 48b2c82763e3bb69a40987e9f42f41e765355037..a6ea6b8c9c6c153375bac25c7b390466b830d01d 100644
(file)
--- a/
src/bin/lttng/commands/list.c
+++ b/
src/bin/lttng/commands/list.c
@@
-744,6
+744,7
@@
int cmd_list(int argc, const char **argv)
if (opt_kernel) {
ret = list_kernel_events();
if (ret < 0) {
+ ret = CMD_ERROR;
goto end;
}
}
@@
-754,6
+755,7
@@
int cmd_list(int argc, const char **argv)
ret = list_ust_events();
}
if (ret < 0) {
+ ret = CMD_ERROR;
goto end;
}
}
This page took
0.026246 seconds
and
4
git commands to generate.