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 12:36:28 +0000 (07:36 -0500)
commit723af4b44ae4f4217efc0d4a1e879dc76be9c9a3
treee71a680bdf115a898c90d2c7c15fc83fa3837353
parenta4b56f4f1e2f9e7e0b85c32e48b1a5b437bd3413
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/agent-thread.c
This page took 0.025667 seconds and 4 git commands to generate.