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:
ca1c360
)
Don't spawen session daemon on version command
author
David Goulet
<dgoulet@efficios.com>
Wed, 1 Feb 2012 20:56:31 +0000
(15:56 -0500)
committer
David Goulet
<dgoulet@efficios.com>
Wed, 1 Feb 2012 20:56:41 +0000
(15:56 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng/lttng.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/lttng/lttng.c
b/src/bin/lttng/lttng.c
index 71ef7ed05ef93846aa21054b00de4f21b821a561..71bc1bf7706f57804833f9de90982ce0a4d0f7e0 100644
(file)
--- a/
src/bin/lttng/lttng.c
+++ b/
src/bin/lttng/lttng.c
@@
-412,7
+412,8
@@
static int check_args_no_sessiond(int argc, char **argv)
if ((strncmp(argv[i], "-h", sizeof("-h")) == 0) ||
strncmp(argv[i], "--h", sizeof("--h")) == 0 ||
strncmp(argv[i], "--list-options", sizeof("--list-options")) == 0 ||
- strncmp(argv[i], "--list-commands", sizeof("--list-commands")) == 0) {
+ strncmp(argv[i], "--list-commands", sizeof("--list-commands")) == 0 ||
+ strncmp(argv[i], "version", sizeof("version"))) {
return 1;
}
}
This page took
0.025854 seconds
and
4
git commands to generate.