firmware: better print for changelog fetch if failed

This commit is contained in:
Franco Fichtner 2017-07-24 08:36:37 +02:00
parent f0c8e2f9e3
commit 262f466f2b

View File

@ -36,8 +36,11 @@ echo "This will automatically fetch all available updates, apply them,"
echo "and reboot if necessary."
echo
# always fetch changelogs, we may want to display them at one point
/usr/local/opnsense/scripts/firmware/changelog.sh fetch || true
echo -n "Fetching change log information, please wait... "
if /usr/local/opnsense/scripts/firmware/changelog.sh fetch; then
echo "done"
fi
echo
if [ -f ${UPGRADE} ]; then
NAME=$(cat ${UPGRADE})