From 96cd0d966a8bc0daad9ec3e18f00e69623f1b5db Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 20 Jan 2026 08:33:43 +0000 Subject: Invoke s6-ftrigrd with a full environment That helps when LD_LIBRARY_PATH is necessary. --- src/libs6/ftrigr_startf.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/libs6') diff --git a/src/libs6/ftrigr_startf.c b/src/libs6/ftrigr_startf.c index 5d2ce16..bc503ba 100644 --- a/src/libs6/ftrigr_startf.c +++ b/src/libs6/ftrigr_startf.c @@ -1,11 +1,12 @@ /* ISC license. */ +#include #include + #include int ftrigr_startf (ftrigr_t *a, tain const *deadline, tain *stamp) { static char const *const cargv[2] = { FTRIGRD_PROG, 0 } ; - static char const *const cenvp[1] = { 0 } ; - return textclient_startf(&a->connection, cargv, cenvp, TEXTCLIENT_OPTION_WAITPID, FTRIGR_BANNER1, FTRIGR_BANNER1_LEN, FTRIGR_BANNER2, FTRIGR_BANNER2_LEN, deadline, stamp) ; + return textclient_startf(&a->connection, cargv, (char const *const *)environ, TEXTCLIENT_OPTION_WAITPID, FTRIGR_BANNER1, FTRIGR_BANNER1_LEN, FTRIGR_BANNER2, FTRIGR_BANNER2_LEN, deadline, stamp) ; } -- cgit v1.3.1