From 0a1a130399dcfcba132094a96f76a135a8f6b782 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 17 Jan 2025 17:36:40 -0500 Subject: [PATCH] Fixed a bug with the default download check. --- audiogame-manager.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 702da80..69cbf2e 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -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 ;;