mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
fix check
This commit is contained in:
parent
2b076fb493
commit
6dbc337b5d
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ _create_filesystem() {
|
|||
_SKIP_FILESYSTEM=""
|
||||
_dialog --yesno "Would you like to create a filesystem on ${_DEVICE}?\n\n(This will overwrite existing data!)" 0 0 && _DOMKFS=1
|
||||
if [[ -n "${_DOMKFS}" ]]; then
|
||||
[[ "${_FSTYPE}" =="swap" ]] || _select_filesystem || return 1
|
||||
[[ "${_FSTYPE}" == "swap" ]] || _select_filesystem || return 1
|
||||
while [[ -z "${_LABEL_NAME}" ]]; do
|
||||
_dialog --inputbox "Enter the LABEL name for the device, keep it short\n(not more than 12 characters) and use no spaces or special\ncharacters." 10 65 \
|
||||
"$(${_LSBLK} LABEL "${_DEVICE}")" 2>"${_ANSWER}" || return 1
|
||||
|
|
Loading…
Reference in a new issue