diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-08-22 10:56:01 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-08-22 10:56:01 +0000 |
commit | f2206da976508c2ad81c3e0949ecd311a5a06709 (patch) | |
tree | b1d8d6eb586da520c827f198ae06dfb647110779 /src/conn-tools/s6-tcpserver-access.c | |
parent | 61459e9930995a491dcac51019d01813efc495ce (diff) | |
download | s6-networking-f2206da976508c2ad81c3e0949ecd311a5a06709.tar.xz |
Optimize to xpathexec ; prepare for 2.3.0.2
Diffstat (limited to 'src/conn-tools/s6-tcpserver-access.c')
-rw-r--r-- | src/conn-tools/s6-tcpserver-access.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/conn-tools/s6-tcpserver-access.c b/src/conn-tools/s6-tcpserver-access.c index e16fe08..720da7e 100644 --- a/src/conn-tools/s6-tcpserver-access.c +++ b/src/conn-tools/s6-tcpserver-access.c @@ -379,12 +379,10 @@ int main (int argc, char const *const *argv, char const *const *envp) if (params.exec.len) { char *specialargv[4] = { EXECLINE_EXTBINPREFIX "execlineb", "-c", params.exec.s, 0 } ; - pathexec_r((char const *const *)specialargv, envp, env_len(envp), params.env.s, params.env.len) ; - strerr_dieexec(111, specialargv[0]) ; + xpathexec_r((char const *const *)specialargv, envp, env_len(envp), params.env.s, params.env.len) ; } - pathexec_r(argv, envp, env_len(envp), params.env.s, params.env.len) ; - strerr_dieexec(111, argv[0]) ; + xpathexec_r(argv, envp, env_len(envp), params.env.s, params.env.len) ; reject: if (verbosity >= 2) |