From 229cb9d493b474352c4928f48eaa0a2809d27f76 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 22 Mar 2020 14:25:35 +0100 Subject: Bugfix for Setting of crypto_partition Variable --- stages/second_stage.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stages/second_stage.sh b/stages/second_stage.sh index abf407a..af7ff8a 100644 --- a/stages/second_stage.sh +++ b/stages/second_stage.sh @@ -96,9 +96,9 @@ if [ $luks_encryption == "yes" ];then print_ok "Setup of /etc/default/grub for LUKS encryption ..." if [ "$boot_mode" == "uefi" ]; then - crypto_partition=${path_to_disk}3 + crypto_partition="${path_to_disk}3" else - crypto_partition=${path_to_disk}2 + crypto_partition="${path_to_disk}2" fi cryptdevice_uuid=$(lsblk --fs | grep "$(basename $crypto_partition)" | awk '{print $3}') -- cgit v1.2.3-70-g09d2