mirror of
https://github.com/markusressel/zfs-inplace-rebalancing
synced 2026-02-05 05:24:07 +00:00
Use bash's double brackets for consistency sake
This commit is contained in:
parent
27017feafe
commit
6effa0b8fc
@ -75,7 +75,7 @@ function assertions() {
|
||||
}
|
||||
|
||||
function assert_matching_file_hardlinked() {
|
||||
if ! [ "$(get_inode "$1")" -eq "$(get_inode "$2")" ]; then
|
||||
if [[ "$(get_inode "$1")" != "$(get_inode "$2")" ]]; then
|
||||
echo "File '$1' was not hardlinked to '$2' when it should have been!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user