diff --git a/usr/lib/archboot/installer/mountpoints.sh b/usr/lib/archboot/installer/mountpoints.sh index 0eb4aa1de..b94d687fa 100644 --- a/usr/lib/archboot/installer/mountpoints.sh +++ b/usr/lib/archboot/installer/mountpoints.sh @@ -205,7 +205,7 @@ _mountpoints() { _check_mkfs_values echo "${_DEV}:${_FSTYPE}:${_MP}:${_DOMKFS}:${_LABEL_NAME}:${_FS_OPTIONS}:${_BTRFS_DEVS}:${_BTRFS_LEVEL}:${_BTRFS_SUBVOLUME}:${_BTRFS_COMPRESS}" >>/tmp/.parts #shellcheck disable=SC2001,SC2086 - ! [[ "${_FSTYPE}" == "btrfs" ]] || [[ -n ${_DEV_ROOT} ]] && _DEVS="$(echo ${_DEVS} | sed -e "s#${_DEV} _##g")" + ! [[ "${_FSTYPE}" == "btrfs" ]] || [[ -n ${_DO_ROOT} ]] && _DEVS="$(echo ${_DEVS} | sed -e "s#${_DEV} _##g")" fi _DO_ROOT="" done