mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix dialog
This commit is contained in:
parent
cd2763d2b0
commit
5c4f10c9ea
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ _bcfs_raid_level() {
|
||||||
# replicas
|
# replicas
|
||||||
_BCFS_REPLICATION="2 - 3 -"
|
_BCFS_REPLICATION="2 - 3 -"
|
||||||
#shellcheck disable=SC2086
|
#shellcheck disable=SC2086
|
||||||
_dialog --no-cancel --title " Replication Level " --menu "" 9 30 5 ${_BCFS_REPLICATION} "> CUSTOM" "Custom Level" >"${_ANSWER}" || return 1
|
_dialog --no-cancel --title " Replication Level " --menu "" 9 30 5 ${_BCFS_REPLICATION} "> CUSTOM" "Custom Level" 2>"${_ANSWER}" || return 1
|
||||||
_BCFS_REP_COUNT=$(cat "${_ANSWER}")
|
_BCFS_REP_COUNT=$(cat "${_ANSWER}")
|
||||||
if [[ ${_BCFS_REP_COUNT} == "> CUSTOM" ]]; then
|
if [[ ${_BCFS_REP_COUNT} == "> CUSTOM" ]]; then
|
||||||
_dialog --inputbox "Enter custom replication level (number):" 8 65 \
|
_dialog --inputbox "Enter custom replication level (number):" 8 65 \
|
||||||
|
|
Loading…
Reference in a new issue