mirror of
https://github.com/masonr/yet-another-bench-script.git
synced 2025-04-19 00:45:22 +00:00
[easy] Fix "tail: cannot open '2' for reading" (#81)
There was a typo in the `tail` command.
This commit is contained in:
parent
8584f28413
commit
c2ccbc2771
2
yabs.sh
2
yabs.sh
@ -529,7 +529,7 @@ elif [ -z "$SKIP_FIO" ]; then
|
|||||||
fi
|
fi
|
||||||
done
|
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)
|
free_space=$(df -Th | grep -w $long | grep -i zfs | awk '{print $5}' | head -c -2)
|
||||||
|
|
||||||
if [[ $size_b == 'T' ]]; then
|
if [[ $size_b == 'T' ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user