[mount] Warn on failure to activate swap partition

This commit is contained in:
dalto 2023-03-11 10:16:20 -06:00
parent 9a75b68ed8
commit d35e69c8a9

View File

@ -313,7 +313,7 @@ def enable_swap_partition(devices):
for d in devices:
libcalamares.utils.host_env_process_output(["swapon", d])
except subprocess.CalledProcessError:
raise Exception(_(f"Failed to enable swap for devices: {devices}"))
libcalamares.utils.warning(f"Failed to enable swap for devices: {devices}")
def run():