From db710c445d087304c632992c8fd4b4c024cff7cf Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Wed, 25 Jan 2023 14:51:01 +0100 Subject: [PATCH] adjust comment --- usr/lib/archboot/installer/mountpoints.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/archboot/installer/mountpoints.sh b/usr/lib/archboot/installer/mountpoints.sh index 5254de43c..53495def3 100644 --- a/usr/lib/archboot/installer/mountpoints.sh +++ b/usr/lib/archboot/installer/mountpoints.sh @@ -158,8 +158,8 @@ _mountpoints() { _DEV=$(cat "${_ANSWER}") _FSTYPE="$(${_LSBLK} FSTYPE "${_DEV}")" if [[ "${_DEV}" != "NONE" ]]; then - # always create swap _clear_fs_values + # create swap if not already swap formatted if [[ -n "${_ASK_MOUNTPOINTS}" && ! "${_FSTYPE}" == "swap" ]]; then _DOMKFS=1 _FSTYPE="swap"