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:07:51 +0000 (15:07 -0400)
commit1fdabf20a7bf1cbed0fbe2c97baec36a96428c2d
tree3c5957e62f0ba52a4a72409f30c31b63362fc8de
parent421888888562c2a25833971a7b1d0bafbee6ac75
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.026267 seconds and 4 git commands to generate.