Fix: quiet option is not set in sessiond-config
[lttng-tools.git] / src / bin / lttng-sessiond / main.c
index ea28feecfd0888d644edce7bf4ff70fbe36c0730..313e66e76cf965049fd5491410ae4c4c718a477a 100644 (file)
@@ -1270,6 +1270,7 @@ restart:
        if (!cmd_socket_wrapper) {
                goto error;
        }
+       cmd_socket_wrapper->lock = &consumer_data->lock;
 
        ret = consumer_send_channel_monitor_pipe(cmd_socket_wrapper,
                        consumer_data->channel_monitor_pipe);
@@ -4719,7 +4720,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) {
This page took 0.023523 seconds and 4 git commands to generate.