mirror of
https://github.com/raspberrypi/rpi-update.git
synced 2026-01-20 21:13:38 +08:00
Merge pull request #183 from JackDanger/patch-1
Adding --silent flag to curling text file
This commit is contained in:
@@ -45,7 +45,7 @@ function update_self() {
|
|||||||
echo " *** Performing self-update"
|
echo " *** Performing self-update"
|
||||||
_tempFileName="$0.tmp"
|
_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 " !!! Failed to download update for rpi-update!"
|
||||||
echo " !!! Make sure you have ca-certificates installed and that the time is set correctly"
|
echo " !!! Make sure you have ca-certificates installed and that the time is set correctly"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user