From f80dbef73f98ae1a801078e5f69a071651e6b52d Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 17 Jun 2017 11:55:11 +0000 Subject: s6-ipcserver-access: make -E properly remove IPCCONNNUM --- src/conn-tools/s6-ipcserver-access.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/conn-tools/s6-ipcserver-access.c b/src/conn-tools/s6-ipcserver-access.c index 1444a38..b7f2ece 100644 --- a/src/conn-tools/s6-ipcserver-access.c +++ b/src/conn-tools/s6-ipcserver-access.c @@ -199,6 +199,8 @@ int main (int argc, char const *const *argv, char const *const *envp) if (!env_addmodif(¶ms.env, tmp, 0)) dienomem() ; memcpy(tmp + protolen, "LOCALPATH", 10) ; if (!env_addmodif(¶ms.env, tmp, 0)) dienomem() ; + memcpy(tmp + protolen, "CONNNUM", 8) ; + if (!env_addmodif(¶ms.env, tmp, 0)) dienomem() ; } if (params.exec.len) -- cgit v1.2.3