/* Pretty print */
if (count == 0) {
MSG("Currently no available tracing session");
- ret = CMD_ERROR;
goto end;
}
} 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;
}