From 849016e488cf19b6171120a4f48f531f7ab81404 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 1 Jan 2023 18:32:16 -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 dc21e612..31bea2ef 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -554,7 +554,7 @@ STATUS(){ DIVIDER false green fi declare -A partitions - partitions=`${NCMD} df -hBM | grep -vE '^Filesystem|tmpfs|cdrom' | awk '{ print $5 " " $1 }' | while read output; do echo $output | awk '{ print $2 }'; done;` + partitions=`${NCMD} df -hBM | grep -vE '^Filesystem|tmpfs|cdrom|loop' | awk '{ print $5 " " $1 }' | while read output; do echo $output | awk '{ print $2 }'; done;` partitions2=`echo ${partitions[*]}` partitions3=(${partitions2}) for partition in "${partitions3[@]}"; do