From 239e7374a19206c42a3f6c60cf57a275c3d166c5 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Wed, 22 Dec 2021 16:13:30 -0300 Subject: [PATCH] Update partDisks function --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 552f2aa..f2ca992 100755 --- a/install.sh +++ b/install.sh @@ -30,8 +30,9 @@ showDisks() { partDisks() { showDisks + clear result=$(whiptail --yesno "Do you want me to automatically partition and format the disk for you?" 0 0) - if [ $result -eq 1 ]; then + if [ $? -eq 1 ]; then gdisk $disk return fi