From 2d0a5827e3b621ad5fbe080d974966d1788d3b12 Mon Sep 17 00:00:00 2001 From: Anand Jain Date: Thu, 20 Oct 2011 23:41:22 +0800 Subject: [PATCH] _populate_fs should use OPTIND when getopts is used Signed-off-by: Anand Jain Signed-off-by: Christoph Hellwig --- common.rc | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5