From 535ee552152059f875f7ebecfac5185842fa1ba1 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 9 Nov 2023 09:55:20 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index b580414f..a9b5cc88 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -782,9 +782,9 @@ DOWNLIST(){ fi [ "${choice^^}" == "E" ] && break - for (( c=0; c<${#DOWNLIST[@]}; c++ )); do - # echo "HERE1: $c" - echo -e "\033[1A\033[K"; + for (( c=0; c<$(echo "scale=1; ${#DOWNLIST[@]}*2" | bc)}; c++ )); do + echo "HERE1: $c" + # echo -e "\033[1A\033[K"; done # for (( c=1; c<${#DOWNLIST[@]}; c++ )); do # echo -e "\033[K";