mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
revert PV change
This commit is contained in:
parent
df1bb94925
commit
80cad97b61
1 changed files with 1 additions and 1 deletions
|
@ -667,7 +667,7 @@ _findpv()
|
|||
# ! "$(${_LSBLK} TYPE ${i} | grep "lvm")"
|
||||
#- not part of volume group
|
||||
# $(pvs -o vg_name --noheading ${i} | grep " $")
|
||||
if ! ${_LSBLK} FSTYPE "${i}" | grep -q "LVM2" && pvs -o vg_name --noheading "${i}" | grep -q " $"; then
|
||||
if ! ${_LSBLK} FSTYPE "${i}" | grep -q "lvm" && pvs -o vg_name --noheading "${i}" | grep -q " $"; then
|
||||
echo "${i}"
|
||||
[[ "${1}" ]] && echo "${1}"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue