diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-05-18 13:34:14 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-05-18 13:34:14 +0000 |
commit | 80e1bb78abff39447d6312d837dd0d8155e63c8a (patch) | |
tree | a309f979f773023e7bcaad53e14562981d309bcd /src/libexecline/el_substandrun_str.c | |
parent | a06c7498c5ad31d78b7ec60cf08f4d3f35debd81 (diff) | |
download | execline-80e1bb78abff39447d6312d837dd0d8155e63c8a.tar.xz |
Use xpathexec_* functions
Diffstat (limited to 'src/libexecline/el_substandrun_str.c')
-rw-r--r-- | src/libexecline/el_substandrun_str.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libexecline/el_substandrun_str.c b/src/libexecline/el_substandrun_str.c index 6680957..3f6b8e3 100644 --- a/src/libexecline/el_substandrun_str.c +++ b/src/libexecline/el_substandrun_str.c @@ -20,7 +20,6 @@ void el_substandrun_str (stralloc *src, size_t srcbase, char const *const *envp, char const *v[r + 1] ; if (!env_make(v, r, dst.s, dst.len)) strerr_diefu1sys(111, "env_make") ; v[r] = 0 ; - pathexec_r(v, envp, env_len(envp), info->modifs.s, info->modifs.len) ; + xpathexec_r(v, envp, env_len(envp), info->modifs.s, info->modifs.len) ; } - strerr_dieexec(111, dst.s) ; } |