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)
committerPetr Štetiar <ynezz@true.cz>
Sun, 5 Jan 2020 16:50:10 +0000 (17:50 +0100)
commitbf99f7920012a1b45e9e6d094e9ac1bcd1f7d931
treeb4236659662d838e994498bd3f6b91ed19494796
parent3140d380422e3b6416b5dbdc951f90b006a4eaac
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