s6

Mirror/fork of https://skarnet.org/software/s6/
git clone https://ccx.te2000.cz/git/s6
Log | Files | Refs | README | LICENSE

commit f80dbef73f98ae1a801078e5f69a071651e6b52d
parent d8a9a79c48e9d8dae6b8f2f73d01a9ce3c376863
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Sat, 17 Jun 2017 11:55:11 +0000

 s6-ipcserver-access: make -E properly remove IPCCONNNUM

Diffstat:
Msrc/conn-tools/s6-ipcserver-access.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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(&params.env, tmp, 0)) dienomem() ; memcpy(tmp + protolen, "LOCALPATH", 10) ; if (!env_addmodif(&params.env, tmp, 0)) dienomem() ; + memcpy(tmp + protolen, "CONNNUM", 8) ; + if (!env_addmodif(&params.env, tmp, 0)) dienomem() ; } if (params.exec.len)