shrink partition menu

This commit is contained in:
Tobias Powalowski 2023-01-25 07:45:40 +01:00
parent 215795442d
commit 2d4605cd73

View file

@ -115,7 +115,7 @@ _partition() {
while true; do
# Prompt the user with a list of known disks
#shellcheck disable=SC2086
_dialog --menu "Select the disk you want to partition:" 14 55 7 ${_DISKS} 2>"${_ANSWER}" || return 1
_dialog --menu "Select the disk you want to partition:" 14 45 7 ${_DISKS} 2>"${_ANSWER}" || return 1
_DISK=$(cat "${_ANSWER}")
if [[ "${_DISK}" == "OTHER" ]]; then
_dialog --inputbox "Enter the full path to the device you wish to partition" 8 65 "/dev/sda" 2>"${_ANSWER}" || _DISK=""