diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-08-28 13:59:16 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-08-28 13:59:16 +0000 |
commit | 04b699857c141a93fc981b83ba02b452ce3a2ddc (patch) | |
tree | f22701124126003ef8f3bca685c94b0de0cd9dec /src/conn-tools/s6-ipcserverd.c | |
parent | a4deb6285e4a3d4aa10fe1913e0be400ec4be25e (diff) | |
download | s6-04b699857c141a93fc981b83ba02b452ce3a2ddc.tar.xz |
Switch to xpathexec_*
Diffstat (limited to 'src/conn-tools/s6-ipcserverd.c')
-rw-r--r-- | src/conn-tools/s6-ipcserverd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/conn-tools/s6-ipcserverd.c b/src/conn-tools/s6-ipcserverd.c index abfaeed..8fac429 100644 --- a/src/conn-tools/s6-ipcserverd.c +++ b/src/conn-tools/s6-ipcserverd.c @@ -255,8 +255,7 @@ static void run_child (int s, uid_t uid, gid_t gid, unsigned int num, char const fmt[n++] = 0 ; memcpy(fmt+n, "IPCREMOTEPATH=", 14) ; n += 14 ; memcpy(fmt+n, remotepath, rplen) ; n += rplen ; - pathexec_r(argv, envp, env_len(envp), fmt, n) ; - strerr_dieexec(111, argv[0]) ; + xpathexec_r(argv, envp, env_len(envp), fmt, n) ; } static void new_connection (int s, char const *remotepath, char const *const *argv, char const *const *envp) |