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.9.0-rc1~241 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e76198754e89de6503632033b05fbdd27424e00f;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 97677dd59..d94dbd790 100644 --- a/src/bin/lttng-sessiond/main.c +++ b/src/bin/lttng-sessiond/main.c @@ -3317,6 +3317,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: