Fix: don't quiet the consumer if opt_quiet is not set
[lttng-tools.git] / src / bin / lttng-sessiond / main.c
index 5c5bda277373080f89f61772fb73a41b25d1c80c..052e32e0c32ec2fb8bfe2a17e71afa0487ebf868 100644 (file)
@@ -2233,9 +2233,12 @@ static pid_t spawn_consumerd(struct consumer_data *consumer_data)
                 */
                if (opt_verbose_consumer) {
                        verbosity = "--verbose";
-               } else {
+               } else if (lttng_opt_quiet) {
                        verbosity = "--quiet";
+               } else {
+                       verbosity = "";
                }
+
                switch (consumer_data->type) {
                case LTTNG_CONSUMER_KERNEL:
                        /*
This page took 0.040025 seconds and 4 git commands to generate.