mediatek: fix wrong return code in platform_check_image()
authorChen Minqiang <ptpt52@gmail.com>
Sun, 18 Dec 2022 00:59:44 +0000 (08:59 +0800)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 29 Jan 2023 01:02:45 +0000 (01:02 +0000)
commit016a7bd558183dae67e6ed3c29ee82d7b5c2f579
treed3f1dc6405a3c08516039255d88f00bdfcbc4b4a
parent781a3ae5dc4755e5826862d023e149e68029d554
mediatek: fix wrong return code in platform_check_image()

Ensure that the platform_check_image() function returns an error code.

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh
target/linux/mediatek/mt7622/base-files/lib/upgrade/platform.sh