diff options
Diffstat (limited to 'cmds-quota.c')
-rw-r--r-- | cmds-quota.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds-quota.c b/cmds-quota.c index 745889d1..c9ea9c0f 100644 --- a/cmds-quota.c +++ b/cmds-quota.c @@ -119,6 +119,7 @@ static int cmd_quota_rescan(int argc, char **argv) DIR *dirstream = NULL; int wait_for_completion = 0; + optind = 0; while (1) { int c = getopt(argc, argv, "sw"); if (c < 0) |