Skip to content

Commit

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

Remove temp file on failure in update required
  • Loading branch information
thijsvanloef authored Feb 23, 2024
2 parents a17739b + eb73764 commit 3c4f405
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 3c4f405

Please sign in to comment.