summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen2000-12-08 20:50:30 +0000
committerEric Andersen2000-12-08 20:50:30 +0000
commitf21aa843896a8c3b8aef8534b90ae7687112f0e2 (patch)
treec27163d1eccfe3d1df589d4f2d9ece70511a6d31
parenteb4218d0a4b3f96a61ddd89726b0214630c87769 (diff)
downloadbusybox-f21aa843896a8c3b8aef8534b90ae7687112f0e2.zip
busybox-f21aa843896a8c3b8aef8534b90ae7687112f0e2.tar.gz
Put in i to getopt, so i will work...
-rw-r--r--lash.c2
-rw-r--r--sh.c2
-rw-r--r--shell/lash.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/lash.c b/lash.c
index 4b1ae6d..07715d4 100644
--- a/lash.c
+++ b/lash.c
@@ -1490,7 +1490,7 @@ int shell_main(int argc_l, char **argv_l)
}
}
- while ((opt = getopt(argc_l, argv_l, "cx")) > 0) {
+ while ((opt = getopt(argc_l, argv_l, "cxi")) > 0) {
switch (opt) {
case 'c':
input = NULL;
diff --git a/sh.c b/sh.c
index 4b1ae6d..07715d4 100644
--- a/sh.c
+++ b/sh.c
@@ -1490,7 +1490,7 @@ int shell_main(int argc_l, char **argv_l)
}
}
- while ((opt = getopt(argc_l, argv_l, "cx")) > 0) {
+ while ((opt = getopt(argc_l, argv_l, "cxi")) > 0) {
switch (opt) {
case 'c':
input = NULL;
diff --git a/shell/lash.c b/shell/lash.c
index 4b1ae6d..07715d4 100644
--- a/shell/lash.c
+++ b/shell/lash.c
@@ -1490,7 +1490,7 @@ int shell_main(int argc_l, char **argv_l)
}
}
- while ((opt = getopt(argc_l, argv_l, "cx")) > 0) {
+ while ((opt = getopt(argc_l, argv_l, "cxi")) > 0) {
switch (opt) {
case 'c':
input = NULL;