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-13 10:12:56 +0100
commit0d6eaa0ba53d77ecbcd08c4c838377c260c6cd87 (patch)
tree2f82754c51d847214dedaca897d985061aa8184b /target/linux/octeon
parent069fda746e3c407a2f61ee9368f264700bea20cd (diff)
downloadupstream-0d6eaa0ba53d77ecbcd08c4c838377c260c6cd87.tar.gz
upstream-0d6eaa0ba53d77ecbcd08c4c838377c260c6cd87.tar.bz2
upstream-0d6eaa0ba53d77ecbcd08c4c838377c260c6cd87.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 cd49c0da36..fdfd6759bc 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