summaryrefslogtreecommitdiffstats
path: root/commands/timeout.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/timeout.c')
-rw-r--r--commands/timeout.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/commands/timeout.c b/commands/timeout.c
index dbf17a7906..8093959216 100644
--- a/commands/timeout.c
+++ b/commands/timeout.c
@@ -37,8 +37,6 @@ static int do_timeout(cmd_tbl_t *cmdtp, int argc, char *argv[])
int flags = 0, opt, countdown;
uint64_t start, second;
- getopt_reset();
-
while((opt = getopt(argc, argv, "t:crsa")) > 0) {
switch(opt) {
case 'r':