projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
compat poll: remove useless "void" and semicolons
[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 b73d5209f7f023408048fa27f90f9e0a3a45aeb3..7c33046ebec1490f798ca4a63e71f0778f91c1db 100644
(file)
--- a/
src/bin/lttng/commands/list.c
+++ b/
src/bin/lttng/commands/list.c
@@
-598,6
+598,10
@@
int cmd_list(int argc, const char **argv)
} else if (opt_userspace) {
DBG2("Listing userspace global domain");
domain.type = LTTNG_DOMAIN_UST;
} else if (opt_userspace) {
DBG2("Listing userspace global domain");
domain.type = LTTNG_DOMAIN_UST;
+ } else {
+ usage(stderr);
+ ret = CMD_UNDEFINED;
+ goto end;
}
handle = lttng_create_handle(session_name, &domain);
}
handle = lttng_create_handle(session_name, &domain);
This page took
0.023624 seconds
and
4
git commands to generate.