summaryrefslogtreecommitdiff
path: root/src/conn-tools/s6-tcpclient.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-08-22 10:56:01 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-08-22 10:56:01 +0000
commitf2206da976508c2ad81c3e0949ecd311a5a06709 (patch)
treeb1d8d6eb586da520c827f198ae06dfb647110779 /src/conn-tools/s6-tcpclient.c
parent61459e9930995a491dcac51019d01813efc495ce (diff)
downloads6-networking-f2206da976508c2ad81c3e0949ecd311a5a06709.tar.xz
Optimize to xpathexec ; prepare for 2.3.0.2
Diffstat (limited to 'src/conn-tools/s6-tcpclient.c')
-rw-r--r--src/conn-tools/s6-tcpclient.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/conn-tools/s6-tcpclient.c b/src/conn-tools/s6-tcpclient.c
index 47be4a7..062047c 100644
--- a/src/conn-tools/s6-tcpclient.c
+++ b/src/conn-tools/s6-tcpclient.c
@@ -374,6 +374,5 @@ int main (int argc, char const *const *argv)
if (fd_move(6, s) < 0) strerr_diefu2sys(111, "set up fd ", "6") ;
if (fd_copy(7, 6) < 0) strerr_diefu2sys(111, "set up fd ", "7") ;
- pathexec(argv+2) ;
- strerr_dieexec(111, argv[2]) ;
+ xpathexec(argv+2) ;
}