From 85defcd96d8c21ab4da285da9d68f80e90542ed4 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 14 Dec 2023 10:07:07 -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 e8137029..889f37e8 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -716,9 +716,9 @@ DOWNLIST(){ fi [ "${choice^^}" == "E" ] && break - echo -e "\033[$(echo "scale=1; (${#DOWNLIST[@]}*2)+2" | bc)A" - for (( c=1; c<$(echo "scale=1; (${#DOWNLIST[@]}*2)+2" | bc); c++ )); do echo -e "\033[K"; done - echo -e "\033[$(echo "scale=1; (${#DOWNLIST[@]}*2)+2" | bc)A" + 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 + echo -e "\033[$(echo "scale=1; (${#DOWNLIST[@]}*2)+3" | bc)A" done echo