Fix: don't quiet the consumer if opt_quiet is not set
authorDavid Goulet <dgoulet@efficios.com>
Wed, 2 Apr 2014 19:07:21 +0000 (15:07 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Wed, 2 Apr 2014 19:07:25 +0000 (15:07 -0400)
Signed-off-by: David Goulet <dgoulet@efficios.com>
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.037003 seconds and 4 git commands to generate.