fix subvolume substitution

This commit is contained in:
Tobias Powalowski 2024-06-03 21:19:57 +02:00
parent 3abb01e54e
commit aefa3da495

View file

@ -70,7 +70,7 @@ _find_btrfs_bootloader_subvolume() {
_subvolumes_in_use() { _subvolumes_in_use() {
_SUBVOLUME_IN_USE="" _SUBVOLUME_IN_USE=""
while read -r i; do while read -r i; do
echo "${i}" | grep -q "|btrfs|" && _SUBVOLUME_IN_USE="${_SUBVOLUME_IN_USE} $(echo "${i}" | cut -d '|' -f 9)" echo "${i}" | grep -q "|btrfs|" && _SUBVOLUME_IN_USE="${_SUBVOLUME_IN_USE} $(echo "${i}" | cut -d '|' -f 8)"
done < /tmp/.parts done < /tmp/.parts
} }