Update nodemgmt-scripts.sh

This commit is contained in:
2019-12-13 00:13:24 -06:00
parent 4fdb3f7ce4
commit 212f96d743

View File

@@ -384,7 +384,7 @@ STATUS(){
partitions3=(${partitions2})
for partition in "${partitions3[@]}"; do
if [ "${partition}" != "udev" ] && [ "${partition}" != "/dev/sda1" ]; then
pname=`echo "${partition}" | awk -F'/' ' { print $NF } '`
#pname=`echo "${partition}" | awk -F'/' ' { print $NF } '`
freespace=`${NCMD} df -hPBM ${partition} | awk '{print $4}' |tail -1|sed 's/M$//g'`
if [ "${freespace}" -le "1000" ]; then
fs_status='error'