From caf905193022c6ad449428296e3f1d5e48ad7007 Mon Sep 17 00:00:00 2001 From: oddlama Date: Tue, 1 Dec 2020 15:07:20 +0100 Subject: [PATCH] Fixed missing swap false check for single disk layouts --- scripts/internal_config.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/internal_config.sh b/scripts/internal_config.sh index c1df50b..6df382a 100644 --- a/scripts/internal_config.sh +++ b/scripts/internal_config.sh @@ -297,6 +297,7 @@ create_single_disk_layout() { else DISK_ID_BIOS="part_$type" fi + [[ $size_swap != "false" ]] && \ DISK_ID_SWAP=part_swap DISK_ID_ROOT="$root_id"