fix nfs showing

This commit is contained in:
2019-04-24 01:41:28 +03:00
committed by GitHub
parent ca4e85f84f
commit ee15290fa0

View File

@@ -9,7 +9,7 @@ barclear=""
echo
for point in "${mountpoints[@]}"; do
line=$(df -hl "${point}")
line=$(df -h "${point}")
usagePercent=$(echo "$line"|tail -n1|awk '{print $5;}'|sed 's/%//')
usedBarWidth=$((($usagePercent*$barWidth)/100))
barContent=""