mirror of
https://github.com/raspberrypi/rpi-update.git
synced 2026-01-20 21:13:38 +08:00
Adding --silent flag to curling text file
This file isn't a huge binary so I think it's appropriate to use the `-s` flag like elsewhere in this file.
This commit is contained in:
@@ -45,7 +45,7 @@ function update_self() {
|
||||
echo " *** Performing self-update"
|
||||
_tempFileName="$0.tmp"
|
||||
|
||||
if ! curl -L --output "${_tempFileName}" "${UPDATE_URI}"; then
|
||||
if ! curl -Ls --output "${_tempFileName}" "${UPDATE_URI}"; then
|
||||
echo " !!! Failed to download update for rpi-update!"
|
||||
echo " !!! Make sure you have ca-certificates installed and that the time is set correctly"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user