Skip to content

Commit

Permalink
Update logic for removing efi boot target
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkankovsky committed Feb 25, 2025
1 parent db91afc commit fb1d6d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyanaconda/modules/storage/bootloader/efi.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def remove_efi_boot_target(self):
except ValueError:
continue

if _product == get_product_name().split("-")[0]: # pylint: disable=no-member
if _product == get_product_name(): # pylint: disable=no-member
slot_id = slot[4:8]
# slot_id is hex, we can't use .isint and use this regex:
if not re.match("^[0-9a-fA-F]+$", slot_id):
Expand Down

0 comments on commit fb1d6d3

Please sign in to comment.