fix subvolume in use

This commit is contained in:
Tobias Powalowski 2022-04-04 20:15:22 +02:00
parent 415a263b80
commit 2a95089b41

View file

@ -230,7 +230,7 @@ choose_btrfs_subvolume () {
[[ -n "${SUBVOLUMES}" ]] && SUBVOLUMES_DETECTED="yes"
subvolumes_in_use
for i in ${SUBVOLUME_IN_USE}; do
#shellcheck disable=SC2001
#shellcheck disable=SC2001,SC2086
SUBVOLUMES="$(echo ${SUBVOLUMES} | sed -e "s#${i} _##g")"
done
if [[ -n "${SUBVOLUMES}" ]]; then