diff options
Diffstat (limited to 'target/linux/atheros')
-rw-r--r-- | target/linux/atheros/base-files/lib/upgrade/platform.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/atheros/base-files/lib/upgrade/platform.sh b/target/linux/atheros/base-files/lib/upgrade/platform.sh index d4daaacb95..d44b8fad80 100644 --- a/target/linux/atheros/base-files/lib/upgrade/platform.sh +++ b/target/linux/atheros/base-files/lib/upgrade/platform.sh @@ -31,7 +31,7 @@ platform_find_kernelpart() { } platform_check_image() { - [ "$ARGC" -gt 1 ] && return 1 + [ "$#" -gt 1 ] && return 1 case "$(get_magic_word "$1")" in # Combined Image |