Skip to content
Permalink
Browse files

octeon: fix typo in platform.sh

Fix upgrade typo

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
  • Loading branch information...
dedeckeh committed Jan 12, 2019
1 parent e4088cb commit 4bd9d331e5854e8325fd3b7a5f14e355a6a3c66d
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 4bd9d33

Please sign in to comment.
You can’t perform that action at this time.