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:
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(¶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)