summaryrefslogtreecommitdiff
path: root/src/libexecline/el_execsequence.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-05-18 13:34:14 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-05-18 13:34:14 +0000
commit80e1bb78abff39447d6312d837dd0d8155e63c8a (patch)
treea309f979f773023e7bcaad53e14562981d309bcd /src/libexecline/el_execsequence.c
parenta06c7498c5ad31d78b7ec60cf08f4d3f35debd81 (diff)
downloadexecline-80e1bb78abff39447d6312d837dd0d8155e63c8a.tar.xz
Use xpathexec_* functions
Diffstat (limited to 'src/libexecline/el_execsequence.c')
-rw-r--r--src/libexecline/el_execsequence.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libexecline/el_execsequence.c b/src/libexecline/el_execsequence.c
index 42ef104..5adbe49 100644
--- a/src/libexecline/el_execsequence.c
+++ b/src/libexecline/el_execsequence.c
@@ -18,6 +18,5 @@ void el_execsequence (char const *const *argv1, char const *const *argv2, char c
strerr_diefu2sys(111, "wait for ", argv1[0]) ;
if (!argv2[0]) _exit(0) ;
j += uint_fmt(fmt + j, wait_status(wstat)) ; fmt[j++] = 0 ;
- pathexec_r(argv2, envp, env_len(envp), fmt, j) ;
- strerr_dieexec(111, argv2[0]) ;
+ xpathexec_r(argv2, envp, env_len(envp), fmt, j) ;
}