Skip to content

Commit 6a6e772

Browse files
committed
main.py: Properly disable unimplemented bootloader upgrade mode
Signed-off-by: Hector Martin <[email protected]>
1 parent 93a9518 commit 6a6e772

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -757,8 +757,8 @@ def main_loop(self):
757757
if parts_resizable:
758758
actions["r"] = "Resize an existing partition to make space for a new OS"
759759
default = default or "r"
760-
if self.sysinfo.boot_mode == "one true recoveryOS":
761-
actions["m"] = "Upgrade bootloader of an existing OS"
760+
if self.sysinfo.boot_mode == "one true recoveryOS" and False:
761+
actions["m"] = "Upgrade bootloader of an existing OS"
762762

763763
if not actions:
764764
p_error("No actions available on this system.")

0 commit comments

Comments
 (0)