diff options
author | xengineering <mail2xengineering@protonmail.com> | 2020-03-22 14:25:35 +0100 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2020-03-22 14:25:35 +0100 |
commit | 229cb9d493b474352c4928f48eaa0a2809d27f76 (patch) | |
tree | 2023c3cb84c6427bb5b0c0bc9b4691af995f556d /stages/second_stage.sh | |
parent | ba641a34c9da01914f4d971be57226ad37878399 (diff) | |
download | archinstall-229cb9d493b474352c4928f48eaa0a2809d27f76.tar archinstall-229cb9d493b474352c4928f48eaa0a2809d27f76.tar.zst archinstall-229cb9d493b474352c4928f48eaa0a2809d27f76.zip |
Bugfix for Setting of crypto_partition Variable
Diffstat (limited to 'stages/second_stage.sh')
-rw-r--r-- | stages/second_stage.sh | 4 |
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}') |