diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 4db95ea7..d939823e 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -561,13 +561,13 @@ STATUS(){ DIVIDER false green fi - echo -en " ${idsCL[LightCyan]}Gathering drive data from server ... ${idsCL[Default]}" + [ "${ST_ACTION}" != "check" ] && echo -en " ${idsCL[LightCyan]}Gathering drive data from server ... ${idsCL[Default]}" declare -A partitions partitions=`${NCMD} df -hBM | grep -vE '^Filesystem|tmpfs|cdrom|loop|overlay|shm|-volume|Music|media-data|Software' | awk '{ print $5 " " $1 }' | while read output; do echo $output | awk '{ print $2 }'; done;` partitions2=`echo ${partitions[*]}` partitions3=(${partitions2}) echo -en "\e[1A"; - #echo -e "\e[0K\r ${idsCL[LightCyan]}Installing updates...${idsCL[Default]}" + echo -e "\e[0K\r" for partition in "${partitions3[@]}"; do if [ "${partition}" != "udev" ] && [ "${partition}" != "/dev/sda1" ]; then