projects
/
openwrt
/
staging
/
jow.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/staging/jow.git]
/
target
/
linux
/
x86_64
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git
a/target/linux/x86_64/base-files/lib/upgrade/platform.sh
b/target/linux/x86_64/base-files/lib/upgrade/platform.sh
index 9503d5db88f4e8b470e5950aaf6293433bcfe0a9..a2dd20a8810902661f54623fb6a55d7b4e6e07ff 100644
(file)
--- a/
target/linux/x86_64/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/x86_64/base-files/lib/upgrade/platform.sh
@@
-14,7
+14,7
@@
x86_get_rootfs() {
}
platform_check_image() {
- [ "$
ARGC
" -gt 1 ] && return 1
+ [ "$
#
" -gt 1 ] && return 1
case "$(get_magic_word "$1")" in
eb48|eb63) return 0;;