x86: fix upgrade vars

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2021-06-17 23:47:35 +08:00
parent 230a107237
commit 0397f2d0c6
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -79,7 +79,7 @@ platform_do_upgrade() {
sync
if [ "$UPGRADE_OPT_SAVE_PARTITIONS" = "1" ]; then
if [ "$SAVE_PARTITIONS" = "1" ]; then
get_partitions "/dev/$diskdev" bootdisk
echo "Extract boot sector from the image"