summaryrefslogtreecommitdiffstats
path: root/bin/sh/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sh/eval.c')
-rw-r--r--bin/sh/eval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/sh/eval.c b/bin/sh/eval.c
index 4e1079b..e147e43 100644
--- a/bin/sh/eval.c
+++ b/bin/sh/eval.c
@@ -1007,6 +1007,7 @@ commandcmd(int argc, char **argv)
path = pathval();
optind = optreset = 1;
+ opterr = 0;
while ((ch = getopt(argc, argv, "p")) != -1) {
switch (ch) {
case 'p':
OpenPOWER on IntegriCloud