mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix pv cleaning
This commit is contained in:
parent
511877b969
commit
ce9605ad7c
1 changed files with 1 additions and 1 deletions
|
@ -647,7 +647,7 @@ _createvg()
|
|||
_PVNUMBER=$((_PVNUMBER + 1))
|
||||
# clean loop from used partition and options
|
||||
#shellcheck disable=SC2001,SC2086
|
||||
_PVS="${_PVS//$(${_LSBLK} NAME,SIZE -d "${_PV}") 2>"${_NO_LOG}"/}"
|
||||
_PVS="${_PVS/$(${_LSBLK} NAME,SIZE -d "${_PV}") 2>"${_NO_LOG}"//}"
|
||||
# add more devices
|
||||
#shellcheck disable=SC2086
|
||||
_dialog --no-cancel --menu "Select additional Physical Volume ${_PVNUMBER} for ${_VGDEV}:" 13 50 10 ${_PVS} DONE _ 2>"${_ANSWER}" || return 1
|
||||
|
|
Loading…
Reference in a new issue