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 14:16:01 +0000 (09:16 -0500)
commit0ac9b15db22d9817dd77f4c34673508e993f60ca
tree1ee8c64e0deee49f9a81013c2db7d35684c0af65
parent64a81a8556c891774f10b4e76c5923504b8b2f2a
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.025366 seconds and 4 git commands to generate.