From 9cc15db76e40ee1579ad2689352e88d19f788ff3 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 23 Dec 2024 01:47:03 -0500 Subject: [PATCH] Fixed validation code so that things can actually pass validation and work. --- audiogame-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 1504893..0ed730e 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -329,7 +329,7 @@ download() { fi ;; esac - if [[ $downloadError -eq 0 ]]; then + if [[ $downloadError -ne 0 ]]; then rm -fv "${cache}/${dest}" dialog --backtitle "Audio Game Manager" \ --infobox "Error downloading \"${dest}\". Installation cannot continue." -1 -1 --stdout