Fix: remove break in lttng cmdline session listing
[lttng-tools.git] / src / bin / lttng / commands / list.c
index 4ff6f785874f13cf3f0049381c1c8dac6679de2a..96ccdb039e53ef2d9e84609c75f087f7243f2480 100644 (file)
@@ -1277,7 +1277,6 @@ static int list_sessions(const char *session_name)
                                MSG("%sTrace path: %s", indent4, sessions[i].path);
                                MSG("%sLive timer interval (usec): %u\n", indent4,
                                                sessions[i].live_timer_interval);
-                               break;
                        }
                }
 
@@ -1463,7 +1462,7 @@ int cmd_list(int argc, const char **argv)
        } else if (opt_jul) {
                DBG2("Listing JUL domain");
                domain.type = LTTNG_DOMAIN_JUL;
-       } else if (opt_jul) {
+       } else if (opt_log4j) {
                domain.type = LTTNG_DOMAIN_LOG4J;
        }
 
This page took 0.023917 seconds and 4 git commands to generate.