mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
fix subvolume creation
This commit is contained in:
parent
713a17830b
commit
5c336a0b73
1 changed files with 2 additions and 1 deletions
|
@ -235,7 +235,8 @@ _choose_btrfs_subvolume () {
|
|||
for i in ${_SUBVOLUME_IN_USE}; do
|
||||
_SUBVOLUMES="${_SUBVOLUMES//${i} _/}"
|
||||
done
|
||||
if [[ -n "${_SUBVOLUMES}" && ! "${_SUBVOLUMES}" == " " ]]; then
|
||||
_SUBVOLUMES="$(echo "${_SUBVOLUMES}" | sd ' +$' '')"
|
||||
if [[ -n "${_SUBVOLUMES}" ]]; then
|
||||
#shellcheck disable=SC2086
|
||||
_dialog --title " Subvolume " --no-cancel --menu "" 15 50 13 ${_SUBVOLUMES} 2>"${_ANSWER}" || return 1
|
||||
_BTRFS_SUBVOLUME=$(cat "${_ANSWER}")
|
||||
|
|
Loading…
Reference in a new issue