diff options
author | Denis Vlasenko | 2007-04-12 12:27:32 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-04-12 12:27:32 +0000 |
commit | 831a20f51246cd8d54a246ba7e239a062eeb002c (patch) | |
tree | 4f3efe440c2db9df016a1aa3dc8d36eb89eb7a2a /shell/msh.c | |
parent | c98c31783c062377d14b80735b056cf4c53c66e9 (diff) | |
download | busybox-831a20f51246cd8d54a246ba7e239a062eeb002c.zip busybox-831a20f51246cd8d54a246ba7e239a062eeb002c.tar.gz |
pass a copy of argv[i] to NOFORK applets (they may permute it etc).
set/save/restore more shared global variables whan call one applet from another
Diffstat (limited to 'shell/msh.c')
-rw-r--r-- | shell/msh.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/shell/msh.c b/shell/msh.c index 4d1e84c..861abe2 100644 --- a/shell/msh.c +++ b/shell/msh.c @@ -3065,7 +3065,6 @@ static const char *rexecve(char *c, char **v, char **envp) char *name = c; if (ENABLE_FEATURE_SH_STANDALONE) { - optind = 1; if (find_applet_by_name(name)) { /* We have to exec here since we vforked. Running * run_applet_and_exit() won't work and bad things |