motds.sh: unignore zfs from df command

This commit is contained in:
Alice Gaudon 2019-12-17 14:45:14 +01:00
parent 3f316732da
commit dfcdd93dd1

View File

@ -68,7 +68,7 @@ dim="\e[2m"
undim="\e[0m"
# disk usage: ignore zfs, squashfs & tmpfs
mapfile -t dfs < <(df -H -x zfs -x squashfs -x tmpfs -x devtmpfs --output=target,pcent,size | tail -n+2)
mapfile -t dfs < <(df -H -x squashfs -x tmpfs -x devtmpfs --output=target,pcent,size | tail -n+2)
printf "\nDisk usage:\n"
for line in "${dfs[@]}"; do