projects
/
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.git]
/
target
/
linux
/
ppc40x
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git
a/target/linux/ppc40x/base-files/lib/upgrade/platform.sh
b/target/linux/ppc40x/base-files/lib/upgrade/platform.sh
index
ed08cab
..
b20b83c
100644
(file)
--- a/
target/linux/ppc40x/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/ppc40x/base-files/lib/upgrade/platform.sh
@@
-11,7
+11,7
@@
platform_check_image() {
local board=$(ppc40x_board_name)
local magic="$(get_magic_word "$1")"
- [ "$
ARGC
" -gt 1 ] && return 1
+ [ "$
#
" -gt 1 ] && return 1
case "$board" in
kilauea | openrb | magicbox)