diff --git a/docs/setup.sh b/docs/setup.sh index 6867227d..2820a5c4 100755 --- a/docs/setup.sh +++ b/docs/setup.sh @@ -9,7 +9,7 @@ sleep 10 # Import and trust the GPG key echo "Setting up user GPG key..... " -drive=(lsblk -o serial,name | grep -A 012345679518 | awk {'print $2'}) +drive=$(lsblk -o serial,name | grep -A 012345679518 | awk {'print $2'}) sudo mkdir /tmp/drive sudo cryptsetup luksOpen /dev/${drive}3 usb-luks sudo mount /dev/mapper/usb-luks /tmp/drive