Commit dec9e0d3 authored by Azat Khuziyakhmetov's avatar Azat Khuziyakhmetov
Browse files

fixed a bug with the floating points in bash script

parent c9aefec4
......@@ -93,7 +93,7 @@ while read -r line; do
if [ "$prev_metric" = "" ]; then prev_metric=0; fi
diff=`bc <<< "($cur_metric - $prev_metric)"`
diff=`bc <<< "scale=0; ($cur_metric - $prev_metric)/1"`
debug "$m: ( $cur_metric - $prev_metric ) = $diff"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment