From 82014eadff304c1a2dc4ec42df622a05b51e5408 Mon Sep 17 00:00:00 2001
From: Santiago Lo Coco <santilococo.01@gmail.com>
Date: Sun, 2 Jan 2022 16:00:21 -0300
Subject: [PATCH] Fix typo

---
 install.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/install.sh b/install.sh
index 42f2219..a0e4158 100755
--- a/install.sh
+++ b/install.sh
@@ -58,7 +58,7 @@ partDisks() {
     if [ $? -eq 1 ]; then
         calcHeightAndRun "whiptail --msgbox \"You will partition the disk yourself with gdisk and then, when finished, you will continue with the installation.\" HEIGHT 62 3>&1 1>&2 2>&3"
         gdisk $disk
-        parts=$(lsblk /dev/sdb -nl | wc -l)
+        parts=$(lsblk $disk -nl | wc -l)
         if [ $parts -eq 1 ]; then
             whiptail --msgbox "You must at least create boot and root partitions." 0 0
             logStep "partDisks"