Fix: lttng: incorrect domain list printed when no domain is provided
[lttng-tools.git] / src / bin / lttng / commands / add_context.c
index d9121b02a8a53783195507a651d4446210160aea..a1b1984b4244c34cf5aca669cae9d57d2c105f9d 100644 (file)
@@ -952,8 +952,8 @@ int cmd_add_context(int argc, const char **argv)
                goto end;
        }
 
-       ret = print_missing_or_multiple_domains(opt_kernel + opt_userspace +
-                       opt_jul + opt_log4j);
+       ret = print_missing_or_multiple_domains(
+                       opt_kernel + opt_userspace + opt_jul + opt_log4j, true);
        if (ret) {
                ret = CMD_ERROR;
                goto end;
This page took 0.023461 seconds and 4 git commands to generate.