Add "|| true" to the curl command as a failed download is no show-stopper for the overall install process.

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER 2019-01-28 20:48:30 +01:00
parent f360959efc
commit 516ed83638
No known key found for this signature in database
GPG key ID: FB60471F0575164A

View file

@ -2176,7 +2176,7 @@ FTLinstall() {
printf "transferred... " printf "transferred... "
# Before stopping FTL, we download the macvendor database # Before stopping FTL, we download the macvendor database
curl -sSL "https://ftl.pi-hole.net/macvendor.db" -o "${PI_HOLE_CONFIG_DIR}/macvendor.db" curl -sSL "https://ftl.pi-hole.net/macvendor.db" -o "${PI_HOLE_CONFIG_DIR}/macvendor.db" || true
# Stop FTL # Stop FTL
stop_service pihole-FTL &> /dev/null stop_service pihole-FTL &> /dev/null