mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-23 07:40:15 +00:00
Error check.
This commit is contained in:
parent
54e2c6181a
commit
409f76aa34
2 changed files with 5 additions and 2 deletions
|
@ -703,6 +703,8 @@ update_package_cache() {
|
|||
echo -n "::: Updating local cache of available packages..."
|
||||
if eval ${UPDATE_PKG_CACHE}; then
|
||||
echo " done!"
|
||||
else
|
||||
echo -n "\n!!! ERROR - Unable to update package cache. Please try \"${UPDATE_PKG_CACHE}\""
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue