mirror of
https://github.com/raspberrypi/rpi-update.git
synced 2026-01-20 21:13:38 +08:00
Update rpi-update (#23)
Warn about the most probable when update failed I got to look around 10 minutes having ca-certificate and a current time, but no internet...
This commit is contained in:
@@ -119,7 +119,7 @@ function update_self() {
|
|||||||
|
|
||||||
if ! eval curl -fs ${CURL_OPTIONS} --output "${_tempFileName}" "${UPDATE_URI}"; then
|
if ! eval curl -fs ${CURL_OPTIONS} --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 are connected to the internet, have ca-certificates installed and that the time is set correctly"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user