[easy] Fix "tail: cannot open '2' for reading"

There was a typo in the `tail` command.
This commit is contained in:
Daniel Lo Nigro 2023-12-03 13:18:01 -08:00 committed by GitHub
commit c2dc0e8af4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -529,7 +529,7 @@ elif [ -z "$SKIP_FIO" ]; then
fi
done
size_b=$(df -Th | grep -w $long | grep -i zfs | awk '{print $5}' | tail -c 2 | head -c 1)
size_b=$(df -Th | grep -w $long | grep -i zfs | awk '{print $5}' | tail -c -2 | head -c 1)
free_space=$(df -Th | grep -w $long | grep -i zfs | awk '{print $5}' | head -c -2)
if [[ $size_b == 'T' ]]; then