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:03:31 +0000 (13:03 -0400)
commit72d6ec2febbc7381fbb92f902ee595e967a57b36
tree1b67ad068ff3f19b7871a95d4f2421ece86b2ee1
parent52cf181f441bb969ca20d8a444281d66d7e60271
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.027736 seconds and 4 git commands to generate.