From cf023a7260a635460d580158e2a6107e78a1e604 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 30 May 2025 17:36:43 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 2b7f1044..bc809a58 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -977,7 +977,7 @@ DOWNLIST(){ [ "${choice^^}" == "E" ] && break echo -e "\033[$(echo "scale=1; (${#DOWNLIST[@]}*2)+3" | bc)A" - for (( c=1; c<$(echo "scale=1; (${#DOWNLIST[@]}*2)+3" | bc); c++ )); do echo -e "\033[K"; done + for (( c=1; c<$(echo "scale=1; ((${#DOWNLIST[@]}*2)*2)+3" | bc); c++ )); do echo -e "\033[K"; done echo -e "\033[$(echo "scale=1; (${#DOWNLIST[@]}*2)+3" | bc)A" done