[lttng-dev] [PATCH lttng-tools] Fix: sessiond '--quiet' option is no longer broken
Stanislav Vovk
stanislav.vovk at ericsson.com
Mon Apr 9 10:27:44 EDT 2018
Signed-off-by: Stanislav Vovk <stanislav.vovk at ericsson.com>
---
src/bin/lttng-sessiond/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bin/lttng-sessiond/main.c b/src/bin/lttng-sessiond/main.c
index db92191..4968ee2 100644
--- a/src/bin/lttng-sessiond/main.c
+++ b/src/bin/lttng-sessiond/main.c
@@ -4929,7 +4929,7 @@ static int set_option(int opt, const char *arg, const char *optname)
} else if (string_match(optname, "no-kernel")) {
config.no_kernel = true;
} else if (string_match(optname, "quiet") || opt == 'q') {
- lttng_opt_quiet = true;
+ config.quiet = true;
} else if (string_match(optname, "verbose") || opt == 'v') {
/* Verbose level can increase using multiple -v */
if (arg) {
--
1.7.12.4
More information about the lttng-dev
mailing list