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
/
x86
/
olpc
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git
a/target/linux/x86/olpc/base-files/lib/upgrade/platform.sh
b/target/linux/x86/olpc/base-files/lib/upgrade/platform.sh
index ffd0b93ab47ddf572e1019703c55ae17d1febf35..c90a4ce1c412f82823e8dd8c93c80363b48994b8 100644
(file)
--- a/
target/linux/x86/olpc/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/x86/olpc/base-files/lib/upgrade/platform.sh
@@
-1,5
+1,5
@@
platform_check_image() {
- [ "$
ARGC
" -gt 1 ] && return 1
+ [ "$
#
" -gt 1 ] && return 1
case "$(get_magic_word "$1")" in
48eb) return 0;;