base-files: sysupgrade: exit if the firmware download failed
authorPetr Štetiar <ynezz@true.cz>
Tue, 31 Dec 2019 09:34:29 +0000 (10:34 +0100)
committerRISCi_ATOM <bob@bobcall.me>
Fri, 10 Jan 2020 16:32:10 +0000 (11:32 -0500)
commitd39cdf2b2743b3be435048a3735329de05c735d9
treee359ef0a6048470f77e2f7b77c728377504bec89
parent48558298f10f36ec19c4429c4a60755cc956e7bd
base-files: sysupgrade: exit if the firmware download failed

Sysupgrade process shouldn't continue if the firmware image couldn't be
downloaded.

Ref: http://lists.infradead.org/pipermail/openwrt-devel/2019-December/020940.html
Reported-by: Petr Novák <petrn@me.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit cf3da66d2ce11a30ae2993b56276ade10c9bddb9)
package/base-files/Makefile
package/base-files/files/sbin/sysupgrade