Fix: return EINVAL if agent registration fails
authorDavid Goulet <dgoulet@efficios.com>
Tue, 7 Oct 2014 19:05:48 +0000 (15:05 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 21 Oct 2014 18:48:18 +0000 (14:48 -0400)
commit79865500b89925b61767294821e0706a57d493d5
treeaa7089c6113f04972370b8145d6882198524f8e3
parentc052142c0fb4ce4cd13999218852ceb2d07ea51e
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.025068 seconds and 4 git commands to generate.