aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2026-01-20 08:33:43 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2026-01-20 08:33:43 +0000
commit96cd0d966a8bc0daad9ec3e18f00e69623f1b5db (patch)
tree1ae7bc1ae87d86ee818f211e0a693ed3669232b5 /src
parent564d45db7a27aa8336405c677bda00b1107b7705 (diff)
downloads6-96cd0d966a8bc0daad9ec3e18f00e69623f1b5db.tar.gz
Invoke s6-ftrigrd with a full environment
That helps when LD_LIBRARY_PATH is necessary.
Diffstat (limited to 'src')
-rw-r--r--src/libs6/ftrigr_startf.c5
1 files changed, 3 insertions, 2 deletions
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 <skalibs/posixplz.h>
#include <skalibs/textclient.h>
+
#include <s6/ftrigr.h>
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) ;
}