summaryrefslogtreecommitdiff
path: root/src/daemontools-extras/s6-envdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemontools-extras/s6-envdir.c')
-rw-r--r--src/daemontools-extras/s6-envdir.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/daemontools-extras/s6-envdir.c b/src/daemontools-extras/s6-envdir.c
index 431389b..140379d 100644
--- a/src/daemontools-extras/s6-envdir.c
+++ b/src/daemontools-extras/s6-envdir.c
@@ -35,6 +35,5 @@ int main (int argc, char const *const *argv, char const *const *envp)
if (argc < 2) strerr_dieusage(100, USAGE) ;
if ((envdir_internal(*argv++, &modifs, options, nullis) < 0) && (insist || (errno != ENOENT)))
strerr_diefu1sys(111, "envdir") ;
- pathexec_r(argv, envp, env_len(envp), modifs.s, modifs.len) ;
- strerr_dieexec(111, argv[0]) ;
+ xpathexec_r(argv, envp, env_len(envp), modifs.s, modifs.len) ;
}