mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08:00
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>
This commit is contained in:
parent
14054e2982
commit
63d611390c
@ -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 | \
|
||||
|
Loading…
x
Reference in New Issue
Block a user