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