summaryrefslogtreecommitdiff
path: root/tools/check_for_upgrade.sh
diff options
context:
space:
mode:
authorBrian Wright <4408242+PennRobotics@users.noreply.github.com>2022-07-26 11:46:10 +0200
committerGitHub <noreply@github.com>2022-07-26 11:46:10 +0200
commitbb6c14cdfd0b7d543d0d9c2e5f0c0a9409a82084 (patch)
treef4ec73c5f0388f1f99944b79bbd844859debbbf5 /tools/check_for_upgrade.sh
parent249c708ed3a4a7a63d16a6e911a46b6fb9623cbd (diff)
downloadzsh-bb6c14cdfd0b7d543d0d9c2e5f0c0a9409a82084.tar.gz
zsh-bb6c14cdfd0b7d543d0d9c2e5f0c0a9409a82084.tar.bz2
zsh-bb6c14cdfd0b7d543d0d9c2e5f0c0a9409a82084.zip
fix(updater): correct spelling of `curl` flag (#11072)
Diffstat (limited to 'tools/check_for_upgrade.sh')
-rw-r--r--tools/check_for_upgrade.sh2
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