summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/s6-rc/s6-rc-oneshot-run.c2
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]) ;
}
}