aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2019-09-16 06:59:09 +0200
committerRafał Miłecki <rafal@milecki.pl>2019-09-16 07:00:22 +0200
commit63d611390c4d34a838e744e278529f30f9d2cc20 (patch)
tree0ce5355104c64d52de896bf495102d8f75f49bdb /target
parent14054e2982fe113a1e26ad8d44e6df03de160de7 (diff)
downloadupstream-63d611390c4d34a838e744e278529f30f9d2cc20.tar.gz
upstream-63d611390c4d34a838e744e278529f30f9d2cc20.tar.bz2
upstream-63d611390c4d34a838e744e278529f30f9d2cc20.zip
ar71xx: fix typo in platform_do_upgrade_compex()
Fixes: 641f6b6c26cb ("treewide: use new procd sysupgrade $UPGRADE_BACKUP variable") Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index 86e7b6386b..b995cdf123 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -164,7 +164,7 @@ platform_do_upgrade_compex() {
if [ -n "$fw_mtd" ] && [ ${fw_blocks:-0} -gt 0 ]; then
local append=""
- [ -f "$UPGRADE_BACKUP" ] && append="-j $UPGRADE_BACKUPs"
+ [ -f "$UPGRADE_BACKUP" ] && append="-j $UPGRADE_BACKUP"
sync
dd if="$fw_file" bs=64k skip=1 count=$fw_blocks 2>/dev/null | \