diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index bbf0bb3c..ca716dad 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -379,7 +379,7 @@ STATUS(){ DIVIDER false green fi - freespace=`${NCMD} df -hBM | grep -vE '^Filesystem|tmpfs|cdrom' | awk '{ print $5 " " $1 }' | while read output; do echo $output | awk '{ print $1}' | cut -d'%' -f1; done` + freespace=`${NCMD} df -hBM | grep -vE '^Filesystem|tmpfs|cdrom' | awk '{ print $5 " " $1 }' | while read output; do echo $output | awk '{ print $2 }'; done` echo ${freespace[*]}