diff --git a/usr/lib/archboot/installer/mountpoints.sh b/usr/lib/archboot/installer/mountpoints.sh index 8ca7f0ecb..5823006ac 100644 --- a/usr/lib/archboot/installer/mountpoints.sh +++ b/usr/lib/archboot/installer/mountpoints.sh @@ -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