diff options
Diffstat (limited to 'target/linux/cns21xx')
-rwxr-xr-x | target/linux/cns21xx/base-files/lib/upgrade/platform.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/cns21xx/base-files/lib/upgrade/platform.sh b/target/linux/cns21xx/base-files/lib/upgrade/platform.sh index 52aa789..fd9bd28 100755 --- a/target/linux/cns21xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/cns21xx/base-files/lib/upgrade/platform.sh @@ -11,7 +11,7 @@ platform_check_image() { local board=$(get_board_name) local magic="$(get_magic_word "$1")" - [ "$ARGC" -gt 1 ] && return 1 + [ "$#" -gt 1 ] && return 1 case "$board" in nsb3ast) |