aboutsummaryrefslogtreecommitdiff
path: root/runit/runsv.c
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2008-01-28 22:45:43 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2008-01-28 22:45:43 +0000
commit847fa779aff2592e842654b95dc2c321885e1eec (patch)
tree82a3ba374faa6f07bdcfea80d12a6e9efe2870c4 /runit/runsv.c
parent0effc2410b219de8c1966752ed217d67943fce69 (diff)
downloadbusybox-847fa779aff2592e842654b95dc2c321885e1eec.tar.gz
busybox-847fa779aff2592e842654b95dc2c321885e1eec.tar.bz2
*: tidy up usage of char **environ
Diffstat (limited to 'runit/runsv.c')
-rw-r--r--runit/runsv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runit/runsv.c b/runit/runsv.c
index 84f5193f5..e9a074580 100644
--- a/runit/runsv.c
+++ b/runit/runsv.c
@@ -279,7 +279,7 @@ static unsigned custom(struct svdir *s, char c)
warn_cannot("setup stdout for control/?");
prog[0] = a;
prog[1] = NULL;
- execve(a, prog, environ);
+ execv(a, prog);
fatal_cannot("run control/?");
}
while (safe_waitpid(pid, &w, 0) == -1) {