From 4bd9d331e5854e8325fd3b7a5f14e355a6a3c66d Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Sat, 12 Jan 2019 19:39:01 +0100 Subject: [PATCH] octeon: fix typo in platform.sh Fix upgrade typo Signed-off-by: Hans Dedecker --- target/linux/octeon/base-files/lib/upgrade/platform.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/octeon/base-files/lib/upgrade/platform.sh b/target/linux/octeon/base-files/lib/upgrade/platform.sh index 6d258dbb0f..0e4ca37629 100755 --- a/target/linux/octeon/base-files/lib/upgrade/platform.sh +++ b/target/linux/octeon/base-files/lib/upgrade/platform.sh @@ -88,7 +88,7 @@ platform_check_image() { local kernel_length=`(tar xf $tar_file sysupgrade-$board/kernel -O | wc -c) 2> /dev/null` local rootfs_length=`(tar xf $tar_file sysupgrade-$board/root -O | wc -c) 2> /dev/null` [ "$kernel_length" = 0 -o "$rootfs_length" = 0 ] && { - echo "The upgarde image is corrupt." + echo "The upgrade image is corrupt." return 1 } return 0 -- 2.30.2