diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-16 20:24:14 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-16 20:24:14 +0100 |
commit | ce479c7a56d08a64547c4e64a931f084c12773e1 (patch) | |
tree | 5b3e647bc83414c84799292d3e220f6ba0435609 | |
parent | b7310bd9975487653c752356fecc32e07d45eeab (diff) |
this should really be the fix for deletion of dm_mapper devices now...
-rw-r--r-- | src/core/libs/lib-ui-interactive.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh index 756a71c..2ea2d16 100644 --- a/src/core/libs/lib-ui-interactive.sh +++ b/src/core/libs/lib-ui-interactive.sh @@ -394,7 +394,7 @@ interactive_filesystem () [ "$old_fs_type" = lvm-lv ] && target="/dev/mapper/$part_label-$old_fs_label $old_fs_type $old_fs_label" [ "$old_fs_type" = dm_crypt ] && target="/dev/mapper/$old_fs_label $old_fs_type $old_fs_label" declare target_escaped=${target//\//\\/} # note: apparently no need to escape the '+' sign - sed -i "#$target_escaped#d" $TMP_BLOCKDEVICES #TODO: check affected items, delete those, etc etc. + sed -i "/$target_escaped/d" $TMP_BLOCKDEVICES #TODO: check affected items, delete those, etc etc. fi return 0 |