From: Jonathan Rajotte Date: Tue, 2 Mar 2021 20:07:42 +0000 (-0500) Subject: Fix: return value of register trigger to the notification thread is not acted upon X-Git-Tag: v2.13.0-rc1~197 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=13839b2759a1c2bc0e53224ddbfc35824cfbb62e Fix: return value of register trigger to the notification thread is not acted upon Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau Change-Id: I0fd6dea34854b82b6d4c1550c4f84a7c79f9076f --- diff --git a/src/bin/lttng-sessiond/cmd.c b/src/bin/lttng-sessiond/cmd.c index d3fc274c3..131e93d0f 100644 --- a/src/bin/lttng-sessiond/cmd.c +++ b/src/bin/lttng-sessiond/cmd.c @@ -4521,6 +4521,7 @@ enum lttng_error_code cmd_unregister_trigger(const struct lttng_credentials *cmd if (ret_code != LTTNG_OK) { DBG("Failed to unregister trigger from notification thread: trigger name = '%s', trigger owner uid = %d, error code = %d", trigger_name, (int) trigger_owner, ret_code); + goto end; } /*