From: David Goulet Date: Tue, 7 Oct 2014 19:05:48 +0000 (-0400) Subject: Fix: return EINVAL if agent registration fails X-Git-Tag: v2.7.0-rc1~244 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=79865500b89925b61767294821e0706a57d493d5;hp=79865500b89925b61767294821e0706a57d493d5;p=lttng-tools.git 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 ---