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 13:13:01 +0000 (14:13 +0100)
commitcf3da66d2ce11a30ae2993b56276ade10c9bddb9
tree9adf67fec2eb7161a50fce4e1844f944789fc5e7
parent411a666df279eb44488be4c3a6d59228b87e3957
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>
package/base-files/Makefile
package/base-files/files/sbin/sysupgrade