mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix subvolume in use
This commit is contained in:
parent
c20d3228c5
commit
0361a5e4c9
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ choose_btrfs_subvolume () {
|
|||
[[ -n "${SUBVOLUMES}" ]] && SUBVOLUMES_DETECTED="yes"
|
||||
subvolumes_in_use
|
||||
for i in ${SUBVOLUME_IN_USE}; do
|
||||
SUBVOLUMES=${SUBVOLUMES//${i}\ _/}
|
||||
SUBVOLUMES="$(echo $SUBVOLUMES | sed -e "s#${i} _##g")"
|
||||
done
|
||||
if [[ -n "${SUBVOLUMES}" ]]; then
|
||||
#shellcheck disable=SC2086
|
||||
|
|
Loading…
Reference in a new issue