From 7e94123709a8141c449ae297f08116c61f8e20d5 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 18 Aug 2024 16:51:07 +0200 Subject: [PATCH] fix: Request to report invalid links --- src/mido.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mido.sh b/src/mido.sh index 2576f79..8773263 100644 --- a/src/mido.sh +++ b/src/mido.sh @@ -548,7 +548,7 @@ downloadFile() { if (( rc == 0 )) && [ -f "$iso" ]; then total=$(stat -c%s "$iso") if [ "$total" -lt 100000000 ]; then - error "Downloaded file $url 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