Update partDisks function
This commit is contained in:
parent
95197fc86c
commit
239e7374a1
|
@ -30,8 +30,9 @@ showDisks() {
|
||||||
partDisks() {
|
partDisks() {
|
||||||
showDisks
|
showDisks
|
||||||
|
|
||||||
|
clear
|
||||||
result=$(whiptail --yesno "Do you want me to automatically partition and format the disk for you?" 0 0)
|
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
|
gdisk $disk
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue