mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-22 04:51:12 +02:00
remove curl stdout of http headers
-s (silent mode) does not prevent curl to output headers to stdout
This commit is contained in:
parent
6afbbe88c8
commit
b4fc92cf0c
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ then
|
|||
fi
|
||||
# -L follow redirect, -s silent,
|
||||
# --max-time overall operation timeout, -I only download headers
|
||||
whence curl > /dev/null && curl -L -s --max-time 3 -I ${REMOTE} || return 0
|
||||
whence curl > /dev/null && curl -L -s --max-time 3 -I ${REMOTE} > /dev/null || return 0
|
||||
|
||||
if mkdir "$ZSH/log/update.lock" 2>/dev/null; then
|
||||
if [ -f ~/.zsh-update ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue