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