mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 12:00:37 +02:00
fix vg listing
This commit is contained in:
parent
2785de0360
commit
3e75f2c39e
1 changed files with 1 additions and 1 deletions
|
@ -704,7 +704,7 @@ _getavailablevg()
|
||||||
for i in $(vgs -o vg_name --noheading); do
|
for i in $(vgs -o vg_name --noheading); do
|
||||||
if ! vgs -o vg_free --noheading --units m "${i}" | grep -q " 0m$"; then
|
if ! vgs -o vg_free --noheading --units m "${i}" | grep -q " 0m$"; then
|
||||||
#shellcheck disable=SC2028
|
#shellcheck disable=SC2028
|
||||||
echo "${i}"'\\n'
|
echo "${i} $(vgs -o vg_free --noheading --units m "${i}")"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue