projects
/
platform
/
upstream
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pass a copy of argv[i] to NOFORK applets (they may permute it etc).
[platform/upstream/busybox.git]
/
shell
/
msh.c
diff --git
a/shell/msh.c
b/shell/msh.c
index
4d1e84c
..
861abe2
100644
(file)
--- 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