Update mido.sh

This commit is contained in:
Kroese 2024-08-18 18:10:18 +02:00 committed by GitHub
parent e7e69d73ca
commit 7a5e0ba489
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -201,7 +201,7 @@ downloadFile() {
if (( rc == 0 )) && [ -f "$iso" ]; then
total=$(stat -c%s "$iso")
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
! verifyFile "$iso" "$size" "$total" "$sum" && return 1
html "Download finished successfully..." && return 0