Fixed a bug with the default download check.

This commit is contained in:
Storm Dragon committed 2025-01-17 17:36:40 -05:00
1 parent a8833aa173
commit 0a1a130399
1 file changed
+2
+2
View File
@@ -324,6 +324,8 @@ download() {
# Add HTML check for other file types
if file -b "${cache}/${dest}" | grep -q "HTML document" ; then
echo "File not found: \"$i\" (HTML document probably 404)"
downloadError=1
else
downloadError=0
fi
;;