diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-06-17 11:55:11 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-06-17 11:55:11 +0000 |
commit | f80dbef73f98ae1a801078e5f69a071651e6b52d (patch) | |
tree | 4dade380e11470c1bab3cf261db0859fd0689892 | |
parent | d8a9a79c48e9d8dae6b8f2f73d01a9ce3c376863 (diff) | |
download | s6-f80dbef73f98ae1a801078e5f69a071651e6b52d.tar.xz |
s6-ipcserver-access: make -E properly remove IPCCONNNUM
-rw-r--r-- | src/conn-tools/s6-ipcserver-access.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) |