X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fhealth-relayd.c;h=e3e48c9195a6bdd2a411c8e31aa1a2f198d19afe;hp=75149ba4b46526a0494bfea623b3115c676064d4;hb=e8fa9fb0539ec3d734f6d0ab91220b4538b2ea30;hpb=d07ceecd2f35ccf383c7529a18dcc9b9c4b8cb17 diff --git a/src/bin/lttng-relayd/health-relayd.c b/src/bin/lttng-relayd/health-relayd.c index 75149ba4b..e3e48c919 100644 --- a/src/bin/lttng-relayd/health-relayd.c +++ b/src/bin/lttng-relayd/health-relayd.c @@ -49,6 +49,7 @@ #include #include #include +#include #include "lttng-relayd.h" #include "health-relayd.h" @@ -136,7 +137,7 @@ int parse_health_env(void) { const char *health_path; - health_path = getenv(LTTNG_RELAYD_HEALTH_ENV); + health_path = lttng_secure_getenv(LTTNG_RELAYD_HEALTH_ENV); if (health_path) { strncpy(health_unix_sock_path, health_path, PATH_MAX);