Fix: sessiond: cmd_enable_channel: negative error code used
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 25 Mar 2022 19:34:47 +0000 (15:34 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 6 Apr 2022 19:12:31 +0000 (15:12 -0400)
commit6ede7c4837890c6bb59a92d4fe987c12e2d3b30f
treec921606bfd558c1e2b6a0a0ca01677162db0f455
parente8731086a3bc256459a9b86e58ac84e7353a9221
Fix: sessiond: cmd_enable_channel: negative error code used

A negative `lttng_error_code` value is returned (as an integer)
when a channel copy fails. Return a positive error code.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I340f739cc33858a06832bb75a7a6d5e18459551f
src/bin/lttng-sessiond/cmd.c
This page took 0.025012 seconds and 4 git commands to generate.