Fix: return EINVAL if agent registration fails
authorDavid Goulet <dgoulet@efficios.com>
Tue, 7 Oct 2014 19:05:48 +0000 (15:05 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 16 Nov 2014 15:01:21 +0000 (10:01 -0500)
commite37c37c64ff100d236ecc0436c802e5917880ca1
tree9421fc28e962ddc88101cb6efe60fbb335846051
parent6eb157796a0f30b063dc991e2464adc69f96acb6
Fix: return EINVAL if agent registration fails

The errno value might be 0 thus not returning an error if so. It has
been seen with an unstable python agent code base which means it could
happen in the future if a third part decides to create an agent.

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/jul-thread.c
This page took 0.027745 seconds and 4 git commands to generate.