Update nodemgmt-scripts.sh

This commit is contained in:
2023-11-09 10:00:35 -06:00
parent 4e6354a6a3
commit 57f7508efc

View File

@@ -783,10 +783,10 @@ DOWNLIST(){
[ "${choice^^}" == "E" ] && break
mrow="\033[$(echo "scale=1; ${#DOWNLIST[@]}*2" | bc)A"
mrow="\033[$(echo "scale=1; (${#DOWNLIST[@]}*2)+2" | bc)A"
echo -e "${mrow}"
for (( c=1; c<$(echo "scale=1; ${#DOWNLIST[@]}*2" | bc); c++ )); do
for (( c=1; c<$(echo "scale=1; (${#DOWNLIST[@]}*2)+2" | bc); c++ )); do
# echo "HERE1: $c"
echo -e "\033[K";
done