projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC
[openwrt/openwrt.git]
/
target
/
linux
/
adm8668
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git
a/target/linux/adm8668/base-files/lib/upgrade/platform.sh
b/target/linux/adm8668/base-files/lib/upgrade/platform.sh
index 583fa2e1dff310aec0a50582dc6711d065daef23..98e47ade31869c7b7e73aac00cead9ffe6cfafe2 100644
(file)
--- a/
target/linux/adm8668/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/adm8668/base-files/lib/upgrade/platform.sh
@@
-1,6
+1,6
@@
PART_NAME=linux
platform_check_image() {
- [ "$
ARGC
" -gt 1 ] && return 1
+ [ "$
#
" -gt 1 ] && return 1
case "$(get_magic_word "$1")" in
# u-boot