diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-08-22 15:48:16 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-08-22 15:48:16 +0000 |
commit | 6062586370a5a083386a8ed8e3533671c89abd73 (patch) | |
tree | 621fdc90c7842aff9b2f6935fcca3b875f891a79 /src/skaembutils/s6-env.c | |
parent | 9f808a8c646f27ff3ca5b80d24534c0587fab559 (diff) | |
download | s6-portable-utils-6062586370a5a083386a8ed8e3533671c89abd73.tar.xz |
Convert to xpathexec ; prepare for 2.2.1.1
Diffstat (limited to 'src/skaembutils/s6-env.c')
-rw-r--r-- | src/skaembutils/s6-env.c | 4 |
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) ; } |