Update nodemgmt-scripts.sh

This commit is contained in:
2023-04-26 14:33:02 -05:00
parent 76810fbb8d
commit cb4a6f6852

View File

@@ -576,7 +576,7 @@ STATUS(){
c=0; cw=40; spc=''
spc1=${cw}-${#pname}
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
echo -en "\e[0K\r ${pname}$spc: "
echo -en " ${pname}$spc: "
fi
freespace=`${NCMD} df -hPBM ${partition} | awk '{print $4}' |tail -1|sed 's/M$//g'` >/dev/null 2>&1
if [ "${freespace}" -le "1000" ]; then