From 4e6354a6a32e898bee3188054df5d1825d5d1867 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 9 Nov 2023 09:59:45 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 6ed904b8..0dd10410 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -782,7 +782,8 @@ DOWNLIST(){ fi [ "${choice^^}" == "E" ] && break - mrow="\033[`echo "scale=1; ${#DOWNLIST[@]}*2" | bc)`A" + + mrow="\033[$(echo "scale=1; ${#DOWNLIST[@]}*2" | bc)A" echo -e "${mrow}" for (( c=1; c<$(echo "scale=1; ${#DOWNLIST[@]}*2" | bc); c++ )); do