From ec9e19ff4523d05850a9e811ec5be227d6d3427d Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Wed, 10 Dec 2008 22:41:09 +0100 Subject: escape spaces so dialog doesnt break --- src/core/libs/lib-ui-interactive.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core') diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh index 687d8c5..2b310c4 100644 --- a/src/core/libs/lib-ui-interactive.sh +++ b/src/core/libs/lib-ui-interactive.sh @@ -402,8 +402,8 @@ interactive_filesystems() { # leave out unneeded info from fs string fs_display=${fs//;yes/} fs_display=${fs//;target/} - infostring=" $type $label $fs_display" - [ -b "$part" ] && get_blockdevice_size ${part/+/} && infostring="${BLOCKDEVICE_SIZE}MB $infostring" # add size in MB for existing blockdevices (eg not for mapper devices that are not yet created yet) + infostring="\ $type\ $label\ $fs_display" + [ -b "$part" ] && get_blockdevice_size ${part/+/} && infostring="${BLOCKDEVICE_SIZE}MB\ $infostring" # add size in MB for existing blockdevices (eg not for mapper devices that are not yet created yet) menu_list="$menu_list $part $infostring" #don't add extra spaces, dialog doesn't like that. done < $TMP_BLOCKDEVICES -- cgit v1.2.3-54-g00ecf