aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/octeon
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2019-01-12 19:39:01 +0100
committerHans Dedecker <dedeckeh@gmail.com>2019-01-12 19:40:13 +0100
commit4bd9d331e5854e8325fd3b7a5f14e355a6a3c66d (patch)
tree4c08131fb752efc9a31dad02a58388f340c6626a /target/linux/octeon
parente4088cb84be4c808d79554d098d2b3e4b8f1608d (diff)
downloadupstream-4bd9d331e5854e8325fd3b7a5f14e355a6a3c66d.tar.gz
upstream-4bd9d331e5854e8325fd3b7a5f14e355a6a3c66d.tar.bz2
upstream-4bd9d331e5854e8325fd3b7a5f14e355a6a3c66d.zip
octeon: fix typo in platform.sh
Fix upgrade typo Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'target/linux/octeon')
-rwxr-xr-xtarget/linux/octeon/base-files/lib/upgrade/platform.sh2
1 files changed, 1 insertions, 1 deletions
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