diff options
author | Zoltán Müllner <mullner.zoltan@gmail.com> | 2019-02-24 18:46:34 +0100 |
---|---|---|
committer | Paweł Krupa <pawel@krupa.net.pl> | 2019-02-24 18:46:34 +0100 |
commit | f2aec3e5977752b9470230158d9b414a1b91bb3c (patch) | |
tree | 24c84f71132cb39c12b1296b0a755a6002b386a4 /packaging/installer/netdata-updater.sh | |
parent | 90975a50f69bed44a969688a4c58e3cad70585d1 (diff) |
Make curl silent and show errors only if it fails (#5485)
* Make curl silent and show errors only if it fails
* Make curl silent and show errors only if it fails
* Make curl silent and show errors only if it fails
* Make curl silent and show errors only if it fails
Diffstat (limited to 'packaging/installer/netdata-updater.sh')
-rw-r--r-- | packaging/installer/netdata-updater.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/installer/netdata-updater.sh b/packaging/installer/netdata-updater.sh index d13f76fae6..ae59889e9b 100644 --- a/packaging/installer/netdata-updater.sh +++ b/packaging/installer/netdata-updater.sh @@ -35,7 +35,7 @@ download() { url="${1}" dest="${2}" if command -v curl >/dev/null 2>&1; then - curl -L --connect-timeout 10 --retry 3 "${url}" >"${dest}" || fatal "Cannot download ${url}" + curl -sSL --connect-timeout 10 --retry 3 "${url}" >"${dest}" || fatal "Cannot download ${url}" elif command -v wget >/dev/null 2>&1; then wget -T 15 -O - "${url}" >"${dest}" || fatal "Cannot download ${url}" else |