diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2019-01-12 19:39:01 +0100 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2019-01-12 19:40:13 +0100 |
commit | 4bd9d331e5854e8325fd3b7a5f14e355a6a3c66d (patch) | |
tree | 4c08131fb752efc9a31dad02a58388f340c6626a /target/linux/octeon | |
parent | e4088cb84be4c808d79554d098d2b3e4b8f1608d (diff) | |
download | upstream-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-x | target/linux/octeon/base-files/lib/upgrade/platform.sh | 2 |
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 |