diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index ccec1f46..2b7f1044 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -976,9 +976,9 @@ DOWNLIST(){ fi [ "${choice^^}" == "E" ] && break - echo -e "\033[$(echo "scale=1; ((${#DOWNLIST[@]}*2)*2)+3" | 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)*2+3" | bc)A" + echo -e "\033[$(echo "scale=1; (${#DOWNLIST[@]}*2)+3" | bc)A" done echo