aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ppc40x/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ppc40x/base-files')
-rw-r--r--target/linux/ppc40x/base-files/lib/upgrade/platform.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ppc40x/base-files/lib/upgrade/platform.sh b/target/linux/ppc40x/base-files/lib/upgrade/platform.sh
index ed08cab2a1..b20b83cd57 100644
--- 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)