X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Flist.c;h=bc59e626f08fe998cd8f2e7e20749092f6cdde36;hp=18ae026c29e9eeb77010b8d1a1cb15cd4327e2d6;hb=cd7b292775db15d15db74519e5c8673834bbbff5;hpb=075ffe1f099a23495eb1b678184614a719463da1 diff --git a/src/bin/lttng/commands/list.c b/src/bin/lttng/commands/list.c index 18ae026c2..bc59e626f 100644 --- a/src/bin/lttng/commands/list.c +++ b/src/bin/lttng/commands/list.c @@ -1855,7 +1855,8 @@ int cmd_list(int argc, const char **argv) if (ret) { goto end; } - continue; + + goto next_domain; } switch (domains[i].type) { @@ -1875,6 +1876,7 @@ int cmd_list(int argc, const char **argv) goto end; } +next_domain: if (lttng_opt_mi) { /* Close domain element */ ret = mi_lttng_writer_close_element(writer);