summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/libs/lib-ui-interactive.sh4
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 f247f41..687d8c5 100644
--- a/src/core/libs/lib-ui-interactive.sh
+++ b/src/core/libs/lib-ui-interactive.sh
@@ -400,8 +400,8 @@ interactive_filesystems() {
while read part type label fs
do
# leave out unneeded info from fs string
- fs_display${fs//;yes/}
- fs_display${fs//;target/}
+ 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)
menu_list="$menu_list $part $infostring" #don't add extra spaces, dialog doesn't like that.