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 ;;