From eba9efcd7afc7b85cfd11fc17f101685cda9e487 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 21 Sep 2015 16:01:06 +0000 Subject: Bugfix in s6-rc-oneshot-run: use pathexec0_run instead of pathexec_run --- src/s6-rc/s6-rc-oneshot-run.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/s6-rc/s6-rc-oneshot-run.c b/src/s6-rc/s6-rc-oneshot-run.c index becdf7b..f7fbc0e 100644 --- a/src/s6-rc/s6-rc-oneshot-run.c +++ b/src/s6-rc/s6-rc-oneshot-run.c @@ -94,7 +94,7 @@ int main (int argc, char const *const *argv, char const *const *envp) register char const **p = newargv ; while (sargc--) *p++ = *sargv++ ; *p = 0 ; - pathexec_run(newargv[0], newargv, envp) ; + pathexec0_run(newargv, envp) ; strerr_dieexec(111, newargv[0]) ; } } -- cgit v1.2.3