diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-01-29 01:45:43 +0300 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-01-29 01:45:43 +0300 |
commit | 847fa779aff2592e842654b95dc2c321885e1eec (patch) | |
tree | 82a3ba374faa6f07bdcfea80d12a6e9efe2870c4 /runit/svlogd.c | |
parent | 0effc2410b219de8c1966752ed217d67943fce69 (diff) |
*: tidy up usage of char **environ
Diffstat (limited to 'runit/svlogd.c')
-rw-r--r-- | runit/svlogd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runit/svlogd.c b/runit/svlogd.c index 1d679c972..9c169da1f 100644 --- a/runit/svlogd.c +++ b/runit/svlogd.c @@ -252,7 +252,7 @@ static unsigned processorstart(struct logdir *ld) prog[1] = (char*)"-c"; prog[2] = ld->processor; prog[3] = NULL; - execve("/bin/sh", prog, environ); + execv("/bin/sh", prog); bb_perror_msg_and_die(FATAL"cannot %s processor %s", "run", ld->name); } ld->ppid = pid; |