From b0aa42366a0928e2ebe8f3db0a11af297fba8a73 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Fri, 3 Feb 2023 07:46:47 +0100 Subject: [PATCH] fix NONE errors --- usr/lib/archboot/installer/mountpoints.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr/lib/archboot/installer/mountpoints.sh b/usr/lib/archboot/installer/mountpoints.sh index 35a4e8862..3f3d736a8 100644 --- a/usr/lib/archboot/installer/mountpoints.sh +++ b/usr/lib/archboot/installer/mountpoints.sh @@ -261,10 +261,10 @@ _mountpoints() { _btrfs_subvolume || return 1 fi fi - _find_btrfsraid_devices - _btrfs_parts - _check_mkfs_values if ! [[ "${_DEV}" == "NONE" ]]; then + _find_btrfsraid_devices + _btrfs_parts + _check_mkfs_values echo "${_DEV}:${_FSTYPE}:${_MP}:${_DOMKFS}:${_LABEL_NAME}:${_FS_OPTIONS}:${_BTRFS_DEVS}:${_BTRFS_LEVEL}:${_BTRFS_SUBVOLUME}:${_BTRFS_COMPRESS}" >>/tmp/.parts # always remove swap paetition and root device [[ ! "${_FSTYPE}" == "btrfs" || -z "${_UEFISYSDEV_DONE}" ]] && _DEVS="${_DEVS//$(${_LSBLK} NAME,SIZE -d "${_DEV}")/}"