From: Jérémie Galarneau Date: Mon, 16 May 2016 02:06:01 +0000 (-0400) Subject: Fix: Error reported if no domain is provided for start/stop X-Git-Tag: v2.7.3~3 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=031e8f9c64f62c9d0fa0ac68f94606266c9a3912;p=lttng-tools.git Fix: Error reported if no domain is provided for start/stop Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/main.c b/src/bin/lttng-sessiond/main.c index 4dc7ebba5..7373218e3 100644 --- a/src/bin/lttng-sessiond/main.c +++ b/src/bin/lttng-sessiond/main.c @@ -3285,6 +3285,8 @@ skip_domain: if (cmd_ctx->lsm->cmd_type == LTTNG_START_TRACE || cmd_ctx->lsm->cmd_type == LTTNG_STOP_TRACE) { switch (cmd_ctx->lsm->domain.type) { + case LTTNG_DOMAIN_NONE: + break; case LTTNG_DOMAIN_JUL: case LTTNG_DOMAIN_LOG4J: case LTTNG_DOMAIN_PYTHON: