Fix bad variable name

This commit is contained in:
Joshua Boniface 2023-09-01 15:41:56 -04:00
parent 037d81fb9d
commit de179d2b65
1 changed files with 1 additions and 1 deletions

View File

@ -448,7 +448,7 @@ blockcheck() {
while [[ ${remainder} -gt 0 && ${exponent} -gt 0 ]]; do
exponent=$(( ${exponent} - 1 ))
size=$(( 2**9 * 2 ** ${exponent} ))
count=$(( ${blockdev_size_bytes} / ${blocksize} ))
count=$(( ${blockdev_size_bytes} / ${size} ))
remainder=$(( ${blockdev_size_bytes} - ${count} * ${size} ))
done
if [[ ${remainder} -gt 0 ]]; then