aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/olpc
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/x86/olpc')
-rw-r--r--target/linux/x86/olpc/base-files/lib/upgrade/platform.sh2
1 files changed, 1 insertions, 1 deletions
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 ffd0b93ab4..c90a4ce1c4 100644
--- 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;;