diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-09-21 16:01:06 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-09-21 16:01:06 +0000 |
commit | eba9efcd7afc7b85cfd11fc17f101685cda9e487 (patch) | |
tree | 01c5b9b1d5543ce040f5f2e8a6cc5c042c82ae1a /src | |
parent | db7ece825a701b71906f29dce2da4287144abb85 (diff) | |
download | s6-rc-eba9efcd7afc7b85cfd11fc17f101685cda9e487.tar.xz |
Bugfix in s6-rc-oneshot-run: use pathexec0_run instead of pathexec_run
Diffstat (limited to 'src')
-rw-r--r-- | src/s6-rc/s6-rc-oneshot-run.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]) ; } } |