Update mido.sh
This commit is contained in:
parent
e7e69d73ca
commit
7a5e0ba489
1 changed files with 1 additions and 1 deletions
|
|
@ -201,7 +201,7 @@ downloadFile() {
|
||||||
if (( rc == 0 )) && [ -f "$iso" ]; then
|
if (( rc == 0 )) && [ -f "$iso" ]; then
|
||||||
total=$(stat -c%s "$iso")
|
total=$(stat -c%s "$iso")
|
||||||
if [ "$total" -lt 100000000 ]; then
|
if [ "$total" -lt 100000000 ]; then
|
||||||
error "Downloaded ISO is only $total bytes?" && return 1
|
error "Invalid download link: $url (is only $total bytes?). Please report this issue." && return 1
|
||||||
fi
|
fi
|
||||||
! verifyFile "$iso" "$size" "$total" "$sum" && return 1
|
! verifyFile "$iso" "$size" "$total" "$sum" && return 1
|
||||||
html "Download finished successfully..." && return 0
|
html "Download finished successfully..." && return 0
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue