Fixed a stupid typo

This commit is contained in:
Boria138 2023-08-19 23:08:44 +06:00
parent 950e9d1d0a
commit b97a5d535c

View File

@ -162,7 +162,7 @@ def modify_grub_default(partitions, root_mount_point, distributor):
cryptdevice_params = []
if have_dracut or used_sd_encrypt:
if have_dracut or uses_sd_encrypt:
for partition in partitions:
if partition["fs"] == "linuxswap" and not partition.get("claimed", None):
# Skip foreign swap