Whamcloud - gitweb
b=12977
[fs/lustre-release.git] / lustre / scripts / lustre_config.in
index c89dca4..0f849fe 100644 (file)
@@ -755,7 +755,8 @@ get_items() {
     declare -i line_num=0
     declare -i idx=0
 
-    while read -r LINE; do
+    exec 9< ${CSV_FILE}
+    while read -u 9 -r LINE; do
         line_num=${line_num}+1
         # verbose_output "Parsing line ${line_num}: $LINE"
 
@@ -820,7 +821,7 @@ get_items() {
         fi
 
         idx=${idx}+1
-    done < ${CSV_FILE}
+    done
 
     return 0
 }