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/daemontools-extras/s6-log.c | |
parent | a4deb6285e4a3d4aa10fe1913e0be400ec4be25e (diff) | |
download | s6-04b699857c141a93fc981b83ba02b452ce3a2ddc.tar.xz |
Switch to xpathexec_*
Diffstat (limited to 'src/daemontools-extras/s6-log.c')
-rw-r--r-- | src/daemontools-extras/s6-log.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/daemontools-extras/s6-log.c b/src/daemontools-extras/s6-log.c index 4a138fe..50c3b1b 100644 --- a/src/daemontools-extras/s6-log.c +++ b/src/daemontools-extras/s6-log.c @@ -323,8 +323,7 @@ static inline void exec_processor (logdir_t *ldp) if (fd_move(5, fd) < 0) strerr_diefu3sys(111, "fd_move ", ldp->dir, "/newstate") ; selfpipe_finish() ; sig_restore(SIGPIPE) ; - pathexec_run(cargv[0], cargv, (char const *const *)environ) ; - strerr_dieexec(111, cargv[0]) ; + xpathexec_run(cargv[0], cargv, (char const *const *)environ) ; } static int rotator (logdir_t *ldp) |