mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 12:00:37 +02:00
disable cancel button
This commit is contained in:
parent
918814cf59
commit
511877b969
1 changed files with 1 additions and 1 deletions
|
@ -752,7 +752,7 @@ _createlv()
|
|||
_enter_luks_name() {
|
||||
_LUKSDEV=""
|
||||
while [[ -z "${_LUKSDEV}" ]]; do
|
||||
_dialog --inputbox "Enter the name for luks encrypted device ${_DEV}:\nfooname\n<yourname>\n\n" 10 65 "fooname" 2>"${_ANSWER}" || return 1
|
||||
_dialog --no-cancel --inputbox "Enter the name for luks encrypted device ${_DEV}:\nfooname\n<yourname>\n\n" 10 65 "fooname" 2>"${_ANSWER}" || return 1
|
||||
_LUKSDEV=$(cat "${_ANSWER}")
|
||||
if ! cryptsetup status "${_LUKSDEV}" | grep -q inactive; then
|
||||
_dialog --msgbox "ERROR: You have defined 2 identical luks encryption device names! Please enter another name." 8 65
|
||||
|
|
Loading…
Reference in a new issue