Fix bad variable name

This commit is contained in:
Joshua Boniface 2021-12-06 14:56:32 -05:00
parent 152e176bd6
commit 56d0f90baf
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