Fix bad variable name
This commit is contained in:
parent
037d81fb9d
commit
de179d2b65
|
@ -448,7 +448,7 @@ blockcheck() {
|
||||||
while [[ ${remainder} -gt 0 && ${exponent} -gt 0 ]]; do
|
while [[ ${remainder} -gt 0 && ${exponent} -gt 0 ]]; do
|
||||||
exponent=$(( ${exponent} - 1 ))
|
exponent=$(( ${exponent} - 1 ))
|
||||||
size=$(( 2**9 * 2 ** ${exponent} ))
|
size=$(( 2**9 * 2 ** ${exponent} ))
|
||||||
count=$(( ${blockdev_size_bytes} / ${blocksize} ))
|
count=$(( ${blockdev_size_bytes} / ${size} ))
|
||||||
remainder=$(( ${blockdev_size_bytes} - ${count} * ${size} ))
|
remainder=$(( ${blockdev_size_bytes} - ${count} * ${size} ))
|
||||||
done
|
done
|
||||||
if [[ ${remainder} -gt 0 ]]; then
|
if [[ ${remainder} -gt 0 ]]; then
|
||||||
|
|
Loading…
Reference in New Issue