mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 12:00:37 +02:00
shorten message
This commit is contained in:
parent
ff8a6c3dd2
commit
695557a4ef
1 changed files with 2 additions and 2 deletions
|
@ -191,7 +191,7 @@ _check_btrfs_subvolume(){
|
||||||
_mount_btrfs
|
_mount_btrfs
|
||||||
for i in $(btrfs subvolume list "${_BTRFSMP}" | cut -d " " -f 9); do
|
for i in $(btrfs subvolume list "${_BTRFSMP}" | cut -d " " -f 9); do
|
||||||
if echo "${i}" | grep -q "${_BTRFS_SUBVOLUME}"; then
|
if echo "${i}" | grep -q "${_BTRFS_SUBVOLUME}"; then
|
||||||
_dialog --title " ERROR " --infobox "You have defined 2 identical SUBVOLUME names! Please enter another name." 3 70
|
_dialog --title " ERROR " --infobox "You have defined 2 identical SUBVOLUME! Please enter another name." 3 70
|
||||||
sleep 3
|
sleep 3
|
||||||
_BTRFS_SUBVOLUME="NONE"
|
_BTRFS_SUBVOLUME="NONE"
|
||||||
fi
|
fi
|
||||||
|
@ -201,7 +201,7 @@ _check_btrfs_subvolume(){
|
||||||
# existing subvolumes
|
# existing subvolumes
|
||||||
_subvolumes_in_use
|
_subvolumes_in_use
|
||||||
if echo "${_SUBVOLUME_IN_USE}" | grep -Eq "${_BTRFS_SUBVOLUME}"; then
|
if echo "${_SUBVOLUME_IN_USE}" | grep -Eq "${_BTRFS_SUBVOLUME}"; then
|
||||||
_dialog --title " ERROR " --infobox "You have defined 2 identical SUBVOLUME names! Please enter another name." 3 70
|
_dialog --title " ERROR " --infobox "You have defined 2 identical SUBVOLUME! Please enter another name." 3 70
|
||||||
sleep 3
|
sleep 3
|
||||||
_BTRFS_SUBVOLUME="NONE"
|
_BTRFS_SUBVOLUME="NONE"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue