Fix: lttng: incorrect domain list printed when no domain is provided
[lttng-tools.git] / src / bin / lttng / commands / add_context.c
index 7aef4d50f7dd575e34c704f5b2a82896af8f5db1..82756599f2364ba4719ed8a615f06ba3aa0b3584 100644 (file)
@@ -1115,8 +1115,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.03517 seconds and 4 git commands to generate.