Use bash's double brackets for consistency sake

This commit is contained in:
Colin Hebert 2025-03-27 09:00:44 +11:00
parent 27017feafe
commit 6effa0b8fc
No known key found for this signature in database

View File

@ -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