ar71xx: fix typo in platform_do_upgrade_compex()
[openwrt/staging/dedeckeh.git] / target / linux / ar71xx / base-files / lib / upgrade / platform.sh
index 86e7b6386b6fd05863e0cc243ca481df8bebd643..b995cdf123be48a07900e2f029849a435e7623ff 100755 (executable)
@@ -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 | \