Update nodemgmt-scripts.sh

This commit is contained in:
2023-01-01 18:32:16 -06:00
parent 1f74262484
commit 849016e488

View File

@@ -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