summaryrefslogtreecommitdiff
path: root/stages
diff options
context:
space:
mode:
Diffstat (limited to 'stages')
-rw-r--r--stages/second_stage.sh4
1 files 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}')