diff mbox series

[lttng-tools] Fix: sessiond '--quiet' option is no longer broken

Message ID 1523284064-22313-1-git-send-email-stanislav.vovk@ericsson.com
State Not Applicable
Delegated to: Jérémie Galarneau
Headers show
Series [lttng-tools] Fix: sessiond '--quiet' option is no longer broken | expand

Commit Message

Stanislav Vovk April 9, 2018, 2:27 p.m. UTC
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 mbox series

Patch

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) {