add another loop

This commit is contained in:
Tobias Powalowski 2023-01-25 18:41:14 +01:00
parent 41a864774e
commit 17ff3e33c3

View file

@ -214,7 +214,8 @@ _mountpoints() {
[[ "${_FSTYPE}" == "vfat" ]] && _FSTYPE=""
fi
else
if [[ -n "${_DO_SWAP}" && ! "${_DEV}" == "NONE" ]]; then
if [[ -n "${_DO_SWAP}" ]]; then
if ! [[ "${_DEV}" == "NONE" ]]; then
if ! [[ "${_FSTYPE}" == "swap" ]]; then
_dialog --msgbox "Error: SWAP PARTITION has not a swap filesystem." 5 50
_FS_FAILED=1
@ -222,6 +223,10 @@ _mountpoints() {
_DO_SWAP=""
_FS_FAILED=""
fi
else
_DO_SWAP=""
_FS_FAILED=""
fi
elif [[ -n "${_DO_ROOT}" ]]; then
_DO_ROOT=""
elif [[ -n "${_DO_UEFISYSDEV}" ]]; then