Skip to content

Commit

Permalink
fix(updater): correct spelling of curl flag (ohmyzsh#11072)
Browse files Browse the repository at this point in the history
  • Loading branch information
PennRobotics authored and emcrisostomo committed Aug 4, 2022
1 parent c80f4bf commit 883f9ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/check_for_upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function is_update_available() {
local remote_head
remote_head=$(
if (( ${+commands[curl]} )); then
curl --conect-timeout 2 -fsSL -H 'Accept: application/vnd.github.v3.sha' $api_url 2>/dev/null
curl --connect-timeout 2 -fsSL -H 'Accept: application/vnd.github.v3.sha' $api_url 2>/dev/null
elif (( ${+commands[wget]} )); then
wget -T 2 -O- --header='Accept: application/vnd.github.v3.sha' $api_url 2>/dev/null
elif (( ${+commands[fetch]} )); then
Expand Down

0 comments on commit 883f9ec

Please sign in to comment.