shorten message

This commit is contained in:
Tobias Powalowski 2023-07-15 19:29:49 +02:00
parent ff8a6c3dd2
commit 695557a4ef

View file

@ -191,7 +191,7 @@ _check_btrfs_subvolume(){
_mount_btrfs
for i in $(btrfs subvolume list "${_BTRFSMP}" | cut -d " " -f 9); do
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
_BTRFS_SUBVOLUME="NONE"
fi
@ -201,7 +201,7 @@ _check_btrfs_subvolume(){
# existing subvolumes
_subvolumes_in_use
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
_BTRFS_SUBVOLUME="NONE"
fi