diff options
author | Brian Wright <4408242+PennRobotics@users.noreply.github.com> | 2022-07-26 11:46:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-26 11:46:10 +0200 |
commit | bb6c14cdfd0b7d543d0d9c2e5f0c0a9409a82084 (patch) | |
tree | f4ec73c5f0388f1f99944b79bbd844859debbbf5 | |
parent | 249c708ed3a4a7a63d16a6e911a46b6fb9623cbd (diff) | |
download | zsh-bb6c14cdfd0b7d543d0d9c2e5f0c0a9409a82084.tar.gz zsh-bb6c14cdfd0b7d543d0d9c2e5f0c0a9409a82084.tar.bz2 zsh-bb6c14cdfd0b7d543d0d9c2e5f0c0a9409a82084.zip |
fix(updater): correct spelling of `curl` flag (#11072)
-rw-r--r-- | tools/check_for_upgrade.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/check_for_upgrade.sh b/tools/check_for_upgrade.sh index 009c273fa..cc527e72d 100644 --- a/tools/check_for_upgrade.sh +++ b/tools/check_for_upgrade.sh @@ -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 |