From 54ba9307bd82c00e905ee118802bd075bac5f3d4 Mon Sep 17 00:00:00 2001 From: aristocratos Date: Sun, 21 Jun 2020 01:38:02 +0200 Subject: [PATCH] Graph divide error --- bashtop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashtop b/bashtop index d69e430..987bcf5 100755 --- a/bashtop +++ b/bashtop @@ -1499,7 +1499,7 @@ create_mini_graph() { #? Create a one line high graph from an array of percenta while ((x=100)); then cur_value=10; org_value=100 elif [[ ${#org_value} -gt 1 && ${org_value:(-1)} -ge 5 ]]; then cur_value=$((${org_value::1}+1)) elif [[ ${#org_value} -gt 1 && ${org_value:(-1)} -lt 5 ]]; then cur_value=$((${org_value::1}))