Whamcloud - gitweb
LU-582 test: fix bug in get_ost_param in sanity.sh
[fs/lustre-release.git] / lustre / tests / sanity.sh
index c20f2f0..957cd41 100644 (file)
@@ -7889,7 +7889,7 @@ get_ost_param() {
                 [ x$gl = x"" ] && gl=0
                 gl_sum=$((gl_sum + gl))
         done
                 [ x$gl = x"" ] && gl=0
                 gl_sum=$((gl_sum + gl))
         done
-        echo $gl
+        echo $gl_sum
 }
 
 som_mode_switch() {
 }
 
 som_mode_switch() {