Skip to content

Commit

Permalink
Also ignore error 60 (cert problem) on curl download
Browse files Browse the repository at this point in the history
  • Loading branch information
joto committed Oct 6, 2020
1 parent a1ab0f8 commit df306d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/languages/update.sh
Expand Up @@ -39,7 +39,7 @@ update_file() {
return 0
else
error=$?
if [ "$error" = "22" -o "$error" = "7" ]; then
if [ "$error" = "22" -o "$error" = "7" -o "$error" = "60" ]; then
print_message "WARNING: Getting ${url} failed. Using old version."
else
print_message "ERROR: Could not get ${url}: curl error: $error"
Expand Down

0 comments on commit df306d6

Please sign in to comment.