Fix: sessiond: don't negate error code on list error
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 15 Jun 2020 22:43:02 +0000 (18:43 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 29 Jul 2020 17:02:17 +0000 (13:02 -0400)
commit51da42aabd9ee62579448a5f68ba2cc00189c482
tree7a63b08bbe64656ed2ccd2d3fe113f881216329d
parentef910e6910414d9918dc8bcf9230d9278ae45807
Fix: sessiond: don't negate error code on list error

Listing errors are already negative. Negating in the error path
causes error codes to be interpreted as a number of events and
cause a communication error further on.

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