use case sensitive comparison for checksum

This commit is contained in:
Markus Ressel 2020-07-30 15:51:57 +02:00
parent 39fe636b8e
commit af0e156c9f

View File

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