From 3e34b4aa36c1755727ac1f9b513b10a76735ecff Mon Sep 17 00:00:00 2001 From: "Carlos M. Martinez" Date: Thu, 22 Feb 2024 12:11:47 -0500 Subject: [PATCH] Remove temp file on failure --- scripts/helper_install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/helper_install.sh b/scripts/helper_install.sh index 3d1ca68c6..66b5e92c8 100644 --- a/scripts/helper_install.sh +++ b/scripts/helper_install.sh @@ -65,6 +65,7 @@ UpdateRequired() { if [ "$http_code" -ne 200 ]; then LogError "There was a problem reaching the Steam api. Unable to check for updates!" DiscordMessage "There was a problem reaching the Steam api. Unable to check for updates!" "failure" + rm "$temp_file" return 2 fi