From 9b0a66d91bc2858c4f9a2e108a24008a5a038b48 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 12 Dec 2019 23:30:47 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index a63fdc78..bbf0bb3c 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 cho $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 $1}' | cut -d'%' -f1; done` echo ${freespace[*]}