X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Flist.c;h=9cc6e474773428b4d87130129604e86fa36d49e3;hb=edf605340065e7328cf85531cef629a223d89a82;hp=e3ff4f1bac7d422f911e0f53e125060bb4b30137;hpb=5cdb6027a2b78fd93aa7f61174625190b5fc3459;p=lttng-tools.git diff --git a/src/bin/lttng/commands/list.c b/src/bin/lttng/commands/list.c index e3ff4f1ba..9cc6e4747 100644 --- a/src/bin/lttng/commands/list.c +++ b/src/bin/lttng/commands/list.c @@ -1251,7 +1251,6 @@ static int list_sessions(const char *session_name) /* Pretty print */ if (count == 0) { MSG("Currently no available tracing session"); - ret = CMD_ERROR; goto end; } @@ -1464,7 +1463,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; }