mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix autoprepare
This commit is contained in:
parent
3ae04c6482
commit
ceb18b1bc0
1 changed files with 1 additions and 1 deletions
|
@ -1209,7 +1209,7 @@ autoprepare() {
|
|||
DISCS=$(blockdevices)
|
||||
if [[ "$(echo "${DISCS}" | wc -w)" -gt 1 ]]; then
|
||||
DIALOG --cr-wrap --msgbox "Available Disks:\n\n$(_getavaildisks)\n" 0 0
|
||||
DIALOG --menu "Select the storage drive to use" 14 55 7 "$(blockdevices _)" 2>"${ANSWER}" || return 1
|
||||
DIALOG --menu "Select the storage drive to use" 14 55 7 $(blockdevices _) 2>"${ANSWER}" || return 1
|
||||
DISC=$(cat ${ANSWER})
|
||||
else
|
||||
DISC="${DISCS}"
|
||||
|
|
Loading…
Reference in a new issue