mirror of
https://github.com/markusressel/zfs-inplace-rebalancing
synced 2026-02-05 05:24:07 +00:00
use case sensitive comparison for checksum
This commit is contained in:
parent
39fe636b8e
commit
af0e156c9f
@ -106,7 +106,7 @@ function rebalance () {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${original_md5,,}" == "${copy_md5,,}"* ]]; then
|
if [[ "${original_md5}" == "${copy_md5}"* ]]; then
|
||||||
color_echo "${Green}" "MD5 OK"
|
color_echo "${Green}" "MD5 OK"
|
||||||
else
|
else
|
||||||
color_echo "${Red}" "MD5 FAILED: ${original_md5} != ${copy_md5}"
|
color_echo "${Red}" "MD5 FAILED: ${original_md5} != ${copy_md5}"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user