diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-10 22:41:09 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-10 22:41:09 +0100 |
commit | ec9e19ff4523d05850a9e811ec5be227d6d3427d (patch) | |
tree | 9faa01af04bbab8f713725e2bf84a682669c96e7 | |
parent | 5dc87cf6f9ed68f68d70256afff51981875dfcf4 (diff) |
escape spaces so dialog doesnt break
-rw-r--r-- | src/core/libs/lib-ui-interactive.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |