From 686fd98b77d70de7f770de6e74fdd2d9409e318e Mon Sep 17 00:00:00 2001 From: Teddysun Date: Wed, 27 Jun 2018 08:33:04 +0900 Subject: [PATCH] Fixed issues #27 Signed-off-by: Teddysun --- bench.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench.sh b/bench.sh index 9c2f75d..4292a9c 100644 --- a/bench.sh +++ b/bench.sh @@ -81,7 +81,7 @@ io_test() { calc_disk() { local total_size=0 local array=$@ - for size in "${array[@]}" + for size in ${array[@]} do [ "${size}" == "0" ] && size_t=0 || size_t=`echo ${size:0:${#size}-1}` [ "`echo ${size:(-1)}`" == "K" ] && size=0