Skip to content

Commit

Permalink
Merge pull request #435 from Dashboy1998/rm-temp-file-in-update-requi…
Browse files Browse the repository at this point in the history
…red-if-error

Remove temp file on failure in update required
  • Loading branch information
thijsvanloef authored Feb 23, 2024
2 parents fada85d + a8a88b6 commit 11a8f9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/helper_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 11a8f9a

Please sign in to comment.