summaryrefslogtreecommitdiff
path: root/src/skaembutils/s6-env.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/skaembutils/s6-env.c')
-rw-r--r--src/skaembutils/s6-env.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/skaembutils/s6-env.c b/src/skaembutils/s6-env.c
index 8db6288..ce91b94 100644
--- a/src/skaembutils/s6-env.c
+++ b/src/skaembutils/s6-env.c
@@ -37,7 +37,5 @@ int main (int argc, char const *const *argv, char const *const *envp)
strerr_diefu1sys(111, "stralloc_cats") ;
}
if (!argc) argv = arg_zero ;
- pathexec_r(argv, envp, env_len(envp), modifs.s, modifs.len) ;
- stralloc_free(&modifs) ;
- strerr_dieexec((errno == ENOENT) ? 127 : 126, argv[0]) ;
+ xpathexec_r(argv, envp, env_len(envp), modifs.s, modifs.len) ;
}