From: Anand Jain Date: Thu, 20 Oct 2011 15:41:22 +0000 (+0800) Subject: _populate_fs should use OPTIND when getopts is used X-Git-Tag: v2022.05.01~3671 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=2d0a5827e3b621ad5fbe080d974966d1788d3b12;p=xfstests-dev.git _populate_fs should use OPTIND when getopts is used Signed-off-by: Anand Jain Signed-off-by: Christoph Hellwig --- diff --git a/common.rc b/common.rc index e3c4e679..cab0b646 100644 --- a/common.rc +++ b/common.rc @@ -1547,6 +1547,7 @@ _populate_fs() root=root # path of initial root of directory tree randomdata=false # -x data type urandom or zero + OPTIND=1 while getopts "d:f:n:r:s:v:x" c do case $c in