From 535c6701dbf5fa11c4c221d54bfe523450b4fea7 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sat, 29 Jun 2024 20:48:42 +0200 Subject: [PATCH] fix multi bcachefs devices --- usr/lib/archboot/installer/bcachefs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/archboot/installer/bcachefs.sh b/usr/lib/archboot/installer/bcachefs.sh index eeb55c55a..9ae863039 100644 --- a/usr/lib/archboot/installer/bcachefs.sh +++ b/usr/lib/archboot/installer/bcachefs.sh @@ -150,7 +150,7 @@ _bcfs_compress() { "zstd" "Use ZSTD Compression" \ "lz4" "Use LZ4 Compression" \ "gzip" "Use GZIP Compression" 2>"${_ANSWER}" || return 1 - if [[ "$(cat "${_ANSWER}")" == "NONE" ]]; then + if [[ "$(cat "${_ANSWER}")" == "> NONE" ]]; then _BCFS_COMPRESS="NONE" else _BCFS_COMPRESS="$(cat "${_ANSWER}")"