mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
unifiy confirm dialogs
This commit is contained in:
parent
c49b0ddf31
commit
2326c4fdcf
1 changed files with 1 additions and 1 deletions
|
@ -462,7 +462,7 @@ _createmd()
|
|||
# clean loop from used partition and options
|
||||
_DEVS="$(echo "${_DEVS}" | sed -e "s#$(${_LSBLK} NAME,SIZE -d "${_DEV}" 2>"${_NO_LOG}")##g" -e 's#MISSING\ _##g' -e 's#SPARE\ _##g')"
|
||||
# raid0 doesn't support missing devices
|
||||
! [[ "${_LEVEL}" == "raid0" || "${_LEVEL}" == "linear" ]] && _MDEXTRA=""> MISSING" "Degraded Raid Device""
|
||||
! [[ "${_LEVEL}" == "raid0" || "${_LEVEL}" == "linear" ]] && _MDEXTRA="\"> MISSING\" \"Degraded Raid Device\""
|
||||
# add more devices
|
||||
#shellcheck disable=SC2086
|
||||
_dialog --no-cancel --menu "Select additional device ${_RAIDNUMBER}:" 21 50 13 ${_DEVS} ${_MDEXTRA} "> DONE" "Proceed To Summary" 2>"${_ANSWER}" || return 1
|
||||
|
|
Loading…
Reference in a new issue