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
/
cns3xxx
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git
a/target/linux/cns3xxx/base-files/lib/upgrade/platform.sh
b/target/linux/cns3xxx/base-files/lib/upgrade/platform.sh
index 599099181d72b31aa21330da08d031394f4a28cb..6d94a5384d64cd1f8a0a5351fdf0d340d5b72922 100644
(file)
--- a/
target/linux/cns3xxx/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/cns3xxx/base-files/lib/upgrade/platform.sh
@@
-69,7
+69,7
@@
platform_check_image() {
local magic="$(get_magic_word "$1")"
local magic_long="$(get_magic_long "$1")"
- [ "$
ARGC
" -gt 1 ] && return 1
+ [ "$
#
" -gt 1 ] && return 1
case "$board" in
laguna)