mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 12:00:37 +02:00
shrink boc
This commit is contained in:
parent
27acaba44a
commit
14e9068ce3
1 changed files with 1 additions and 1 deletions
|
@ -860,7 +860,7 @@ _createvg()
|
|||
# enter volume group name
|
||||
VGDEVICE=""
|
||||
while [[ "${VGDEVICE}" = "" ]]; do
|
||||
DIALOG --inputbox "Enter the Volume Group name:\nfoogroup\n<yourvolumegroupname>\n\n" 15 65 "foogroup" 2>"${ANSWER}" || return 1
|
||||
DIALOG --inputbox "Enter the Volume Group name:\nfoogroup\n<yourvolumegroupname>\n\n" 11 40 "foogroup" 2>"${ANSWER}" || return 1
|
||||
VGDEVICE=$(cat "${ANSWER}")
|
||||
if vgs -o vg_name --noheading 2>/dev/null | grep -q "^ ${VGDEVICE}"; then
|
||||
DIALOG --msgbox "ERROR: You have defined 2 identical Volume Group names! Please enter another name." 8 65
|
||||
|
|
Loading…
Reference in a new issue