Skip to content

Commit

Permalink
Remove temp file on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Dashboy1998 committed Feb 22, 2024
1 parent acd6d65 commit 3e34b4a
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 3e34b4a

Please sign in to comment.