Update partDisks()

This commit is contained in:
Santiago Lo Coco 2021-12-26 21:56:40 -03:00
parent 4d1ed4c285
commit ad79c3b274
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ updateSystemClock() {
exitIfCancel() { exitIfCancel() {
if [ $? -eq 1 ]; then if [ $? -eq 1 ]; then
whiptail --msgbox "${1}. Therefore, the installation process will stop, but you can continue where you left off by running:\n\nsh CocoASIAS" 0 0 whiptail --msgbox "${1} Therefore, the installation process will stop, but you can continue where you left off by running:\n\nsh CocoASIAS" 0 0
echo "${2}" > CocoASAIS.log echo "${2}" > CocoASAIS.log
exit 1 exit 1
fi fi
@ -39,7 +39,7 @@ exitIfCancel() {
partDisks() { partDisks() {
local IFS=$'\n' local IFS=$'\n'
setDelimiters "" setDelimiters ""
formatOptions $(lsblk -dpnlo NAME,SIZE) formatOptions $(lsblk -dpnlo NAME,SIZE -e 7,11)
result=$(whiptail --title "Select a disk." --menu "" 0 0 0 "${options[@]}" 3>&1 1>&2 2>&3) result=$(whiptail --title "Select a disk." --menu "" 0 0 0 "${options[@]}" 3>&1 1>&2 2>&3)
exitIfCancel "You must select a disk." "partDisks" exitIfCancel "You must select a disk." "partDisks"